#22069 [NEW]: $_GET==$_SESSION
| From: | me at paodj dot net | Date: | Wed, 05 Feb 2003 12:54:05 +0000 |
| Subject: | #22069 [NEW]: $_GET==$_SESSION | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-32180@lists.php.net to get a copy of this message | ||
From: me@paodj.net
Operating system: Win XP
PHP version: 4.3.0
PHP Bug Type: Session related
Bug description: $_GET==$_SESSION
<?
session_start();
$_GET["username"]="admin";
$_SESSION["username"]="paodj";
echo $_GET["username"]; //Return "admin"
echo $_SESSION["username"]; //Return "admin", not "paodj"
?>
Php 4.3.0 RC 2, Apache 2, XP with register.globals = ON
if register.globals = OFF, it's ok.
My english is not very well ;)
--
Edit bug report at http://bugs.php.net/?id=22069&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22069&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22069&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22069&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22069&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22069&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22069&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22069&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22069&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22069&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22069&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22069&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22069&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22069&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22069&r=gnused