> <?php > > session_start(); > > // lets say this equals "bar" and it was set on a previous page > $_SESSION["foo"]; > > $foo = "rab"; > > > echo $_SESSION["foo"]; > > ?> > > The problem is, when I set the global variable $foo="rab", > when I echo the > session variable $_SESSION["foo"], it outputs "rab" instead > of "bar"?!
Try setting register_globals to "off" in your php.ini file. Kirk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php