ID:               39634
 Updated by:       [EMAIL PROTECTED]
 Reported By:      erhanbaris at gmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Variables related
 Operating System: Win Xp SP1
 PHP Version:      5.2.0
 New Comment:

Is you register_globals enabled or not?


Previous Comments:
------------------------------------------------------------------------

[2006-11-26 10:47:22] erhanbaris at gmail dot com

Description:
------------
when i was use $_SESSION variable i find interesting thing.
look at this.

Reproduce code:
---------------
<?
session_start();
$_SESSION['id']=2006;
header('Location: second.php');
?>
second.php
<?
session_start();
$id=1985;
echo "\$_SESSION['id'] -> ".$_SESSION['id']."<br>\n";
echo "\$id -> ".$id."<br>\n";
?>



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=39634&edit=1

Reply via email to