#23627 [NEW]: Probleme with variable assignement

From: Date: Wed, 14 May 2003 11:26:34 +0000
Subject: #23627 [NEW]: Probleme with variable assignement
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39620@lists.php.net to get a copy of this message
From: laurent at nunenthal dot org Operating system: debian PHP version: 4.3.1 PHP Bug Type: Session related Bug description: Probleme with variable assignement I have experiment a funny bug with session_register in this little script : <?php //loginf and passfordf go from a form include("../mysql.inc.php"); session_start(); $login=$loginf; $password=$passwordf; print("login : $login password : $password<br>"); session_register("login","password"); print("login : $login password : $password<br>"); ?> the result of printing is the variable $login take the value of the variable $password. If i replace "session_register("login","password");" by session_register("login"); session_register("password"); All work fine... Thank you for your job. Laurent -- Edit bug report at http://bugs.php.net/?id=23627&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23627&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23627&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23627&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23627&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23627&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23627&r=support Expected behavior: http://bugs.php.net/fix.php?id=23627&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23627&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23627&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23627&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23627&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23627&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23627&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23627&r=gnused

« previous php.bugs (#39620) next »