|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-03-20 08:28 UTC] sniper@php.net
[2001-04-19 09:38 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 10:00:02 2025 UTC |
Details: When retrieving the value of a variable coming from a form, if the form had enctype="multipart/form-data", "\r\n" is added at the beginning of the variable. SCRIPT: <html><head></head><body> <? if ($t1!="") { echo ("BEFORE->".$t1."<-AFTER<br>"); echo ("BEFORE->".$t2."<-AFTER<br>"); } <form action="<%=$PHP_SELF%>" method="POST" enctype="multipart/form-data"> <input type="hidden" name="t1" value="AA"> <input type="text" name="t2" value="BB"> <input type="submit"> </form> </body></html> Modules: php-pgsql4.0.4pl1-3 php-ldap4.0.4pl1-3 Apache 1.3.12-25 php.ini (not available at this moment)