#18882 [Bgs]: GLOBAL DUPLICATION

From: Date: Tue, 13 Aug 2002 14:56:18 +0000
Subject: #18882 [Bgs]: GLOBAL DUPLICATION
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16621@lists.php.net to get a copy of this message
ID: 18882 User updated by: paul.d.rowlands@delphiauto.com Reported By: paul.d.rowlands@delphiauto.com Status: Bogus Bug Type: *General Issues Operating System: WIN 2000 PHP Version: 4.2.2 New Comment: PHP SCRIPT:---- <FORM METHOD="POST"> Type in password &nbsp&nbsp&nbsp <input type="password" name="zpass" size="6" /> &nbsp&nbsp&nbsp<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>"; ?> Previous Comments: ------------------------------------------------------------------------ [2002-08-13 10:17:59] kalowsky@php.net Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ [2002-08-13 09:48:39] paul.d.rowlands@delphiauto.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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18882&edit=1

« previous php.bugs (#16621) next »