#23715 [NEW]: strange variable values

From: Date: Tue, 20 May 2003 12:00:34 +0000
Subject: #23715 [NEW]: strange variable values
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-40031@lists.php.net to get a copy of this message
From: tarmo at kaugotsing dot ee Operating system: Linux, Redhat 9 PHP version: 4.3.1 PHP Bug Type: Output Control Bug description: strange variable values test1.php <html> <form method="POST" action="test2.php"> <?php $id = "101"; echo "<input type=\"submit\" name=\"but1\" value=\"$id\">"; ?> <form> </html> tes2.php <html> <?php echo "$but1"; ?> </html> Result is: 101but1=101 Any idea? T.F. -- Edit bug report at http://bugs.php.net/?id=23715&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23715&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23715&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23715&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23715&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23715&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23715&r=support Expected behavior: http://bugs.php.net/fix.php?id=23715&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23715&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23715&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23715&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23715&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23715&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23715&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23715&r=gnused

« previous php.bugs (#40031) next »