session register!!
| From: | Cristian Cerda | Date: | Fri, 08 Feb 2002 19:15:20 +0000 |
| Subject: | session register!! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-84033@lists.php.net to get a copy of this message | ||
Hi there, hope you can help me with my problem.
I'm trying to set up a PHP/MySQL web site using session variables to
pass information between pages. So far no good.
I did set register_globals to On on the php.ini file. But when i use for
example session_register("the_var") in one page ( using session_start()
at the beginning), i don't get anything on the next page if i do echo
$the_var .
Don't know what's wrong, but my guess is i have something wrong with the
configuration as i copy/pasted most of the code.
I'm using OS X / WebSTAR V / PHP 4.0.6 as a CGI / MySQL
please help
Cristian