RE: phpweb /include bugform.inc
| From: | Hojtsy Gábor | Date: | Mon, 09 Jul 2001 08:49:48 +0000 |
| Subject: | RE: phpweb /include bugform.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-5404@lists.php.net to get a copy of this message | ||
> Modified files:
> /phpweb/include bugform.inc
> Log:
> re-xhtml-ize
>
>
>Index: phpweb/include/bugform.inc
>-<form method="post" action="<?php echo $PHP_SELF;?>">
>+<form method="POST" action="<?php echo $PHP_SELF;?>">
So, if you say, you used XHTML here, it is not correct...
Extract from the XHTML Transitional DTD:
<!ATTLIST form
%attrs;
action %URI; #REQUIRED
method (get|post) "get"
name NMTOKEN #IMPLIED
enctype %ContentType; "application/x-www-form-urlencoded"
onsubmit %Script; #IMPLIED
onreset %Script; #IMPLIED
accept %ContentTypes; #IMPLIED
accept-charset %Charsets; #IMPLIED
target %FrameTarget; #IMPLIED
>
You can see, that get and post are lowercased tokens...
So this change was not XHTML conform :))
Did I said, I would like to see standard based pages? :))
Goba