#23627 [Opn->Csd]: Probleme with variable assignement
ID: 23627
Updated by: sniper@php.net
Reported By: laurent at nunenthal dot org
-Status: Open
+Status: Closed
Bug Type: Session related
Operating System: debian
PHP Version: 4.3.1
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2003-05-14 06:26:34] laurent at nunenthal dot org
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 this bug report at http://bugs.php.net/?id=23627&edit=1
Thread (2 messages)