Jump to content

coolpro

Members
  • Posts

    13
  • Joined

  • Last visited

    Never

About coolpro

  • Birthday 02/16/1991

Contact Methods

  • MSN
    k.sidorenka@hotmail.com
  • Website URL
    http://www.upsy.lt

Profile Information

  • Gender
    Male
  • Location
    Ignalina, Lithuania (Europe)

coolpro's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Can anybody help to set mod_rewrite? i have a domain upsy.lt, and i wish to rewrite these addresses 1. www.upsy.lt/city/[something] to www.upsy.lt/index.php?city=[something] for example: www.upsy.lt/city/123 to www.upsy.lt/index.php?city=123 2. www.upsy.lt/school/[something] to www.upsy.lt/index.php?school=[something] for example: www.upsy.lt/school/123 to www.upsy.lt/index.php?school=123 3. www.upsy.lt/teacher/[something] to www.upsy.lt/index.php?teacher=[something] for example: www.upsy.lt/teacher/123 to www.upsy.lt/index.php?teacher=123 Thanks a lot for helping.
  2. 1) At first display was none, i use javascript to display it when the event happens, and i use clientX and clientY to use absolute position in window. Of course, first i have to change display:none to other value. Is it big difference between using display:inline or display:block in my case? If not, why? 2) What is the difference between position:fixed and postion:absolute? Thanks for answers
  3. coolpro

    Form element

    http://htmlhelp.com/reference/html40/forms/form.html It is true, because when I use: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <div> <form action="index.php"> <input type="text" id="field1" name="field1" /> </form> </div> </body> </html> W3C validator show error: Line 12, Column 46: document type does not allow element "input" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag. and when: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <div> <form action="index.php"> <div> <input type="text" id="field1" name="field1" /> </div> </form> </div> </body> </html> then: This Page Is Valid XHTML 1.0 Strict!
  4. I don't like that kind of website designs
  5. coolpro

    Frames???

    I am a good judge of HTML, but I think it is because of some old browsers do not support frames, but always it is possible to use this variant: <frameset cols="25%,75%"> <frame src="frame_a.htm"> <frame src="frame_b.htm"> <noframes> <body>Your browser doesn't support frames</body> </noframes> </frameset> Note: When we use <frameset> then we don't use <body> element. But browsers which do not support frames, don't see <frameset> and <frame> elements, only <noframes>. So if we use <noframes> we have to neclose it with <body> frame.
  6. coolpro

    Form element

    HTML 4.01 and XHTML Strict requieres, that form element contains block-level elements. This would be incorrect: <form> <input></input> </form> The correct one is: <form> <div> <input></input> </div> </form> But I don't understand why.
  7. coolpro

    Form element

    Why <form> element should contain block-level elements?
  8. Anybody can make super simple example, written by Ajax way. For example, it is a time: time.php <? echo date("H:i"); //hours and minutes ?> I have index.html, with 2 lines, "Update the time", and "Time is:". I want to do, that when i click on "Update the time", AJAX check time.php, and respond it to index.html file
  9. Okay. Another question: What ScriptAlias exactly do, what is difference from Alias?
  10. I am a new user, and I don't know where to ask. wildteen88, maybe you'll know. I cannot write PMs. System says: "You are not allowed to send personal messages." What the problem is?
  11. I used: PHPIniDir "C:/php" in httpd.conf file is is good choice?
  12. What does it depend on from which location PHP.INI file will be loaded in Windows OS?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.