|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-08-13 09:48 UTC] paul dot d dot rowlands at delphiauto dot com
I have updated from php4.0.6 on NT (APACHE 1.3.22) to php4.2.2 on win 2000 (APACHE 2.0.39). Why is global zpass = "whatisthis" repeated in the global string with the key and value. This works fine in 4.0.6 4.2.2 $GLOBALS["zpass"]=whatisthiszpass=whatisthis 4.0.6 $GLOBALS["zpass"]=whatisthis PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 07 08:00:02 2026 UTC |
PHP SCRIPT:---- <FORM METHOD="POST"> Type in password     <input type="password" name="zpass" size="6" />    <input type="submit" value="Submit" /> </FORM> <?php print("zpass=$HTTP_POST_VARS[zpass]"); ECHO "<BR><BR><BR>"; ECHO "<BR><BR><BR>"; echo $GLOBALS["zpass"]; ECHO "<BR><BR><BR>"; foreach ($HTTP_POST_VARS as $Key=>$Value) { echo "<LI>\$GLOBALS[\"$Key\"]=$Value\n"; } echo "<br>"; ?>PHP SCRIPT:---- <FORM METHOD="POST"> Type in password     <input type="password" name="zpass" size="6" />    <input type="submit" value="Submit" /> </FORM> <?php print("zpass=$HTTP_POST_VARS[zpass]"); ECHO "<BR><BR><BR>"; ECHO "<BR><BR><BR>"; echo $GLOBALS["zpass"]; ECHO "<BR><BR><BR>"; foreach ($HTTP_POST_VARS as $Key=>$Value) { echo "<LI>\$GLOBALS[\"$Key\"]=$Value\n"; } echo "<br>"; ?>