|  | Posted by Lars Eighner on 10/14/07 14:54 
In our last episode, <1192371387.911013.31070@q3g2000prf.googlegroups.com>,
 the lovely and talented william.hooper@gmail.com
 broadcast on comp.lang.php:
 
 > Here is a manual... http://www.php.net/manual/en/ but it has no
 > chapter 65 and it looks quite long...
 
 http://www.php.net/download-docs.php
 
 Yes, it is several megs depending on format.
 
 However, you should realize that many of your questions reveal that you do
 not know HTML.  The PHP manual will not teach you HTML.
 
 If you had looked in your copy of your HTML dtd (this happens to be
 4.01 strict, but you'll find something similar in your dtd)
 
 <!ELEMENT FORM - - (%block;|SCRIPT)+ -(FORM) -- interactive form -->
 <!ATTLIST FORM
 %attrs;                           -- %coreattrs, %i18n, %events --
 action      %URI;       #REQUIRED -- server-side form handler --
 method      (GET|POST)  GET       -- HTTP method used to submit the form--
 
 This should have told your that method defaults to GET.
 
 I don't know if the PHP manual mentions this, but it isn't PHP's job to
 teach you HTML.
 
 
 For example, your latest question here was based on the theory that POST
 will change periods to underscorces.  POST does not do this.  PHP does this
 under certain circumstances and will also change space to underscores under
 certain circumstances (because PHP variable names cannot contain periods or
 spaces).
 
 This does not pose a problem for most people because most people do not
 expect to have both foo_jpg (no extension) and foo.jpg.  Yes, if you do
 have an image named foo_jpg (no extension) then some ambiguity could
 result.  But sane people do not name images foo_jpg (no extension).
 
 
 --
 Lars Eighner     <http://larseighner.com/>     <http://myspace.com/larseighner>
 Countdown: 464 days to go.
 What do you do when you're debranded?
  Navigation: [Reply to this message] |