the function
session_register
, doesn't work on newest versions of php? Because I'm testing a script and doesn't work
thanks
devil:
You might RTFM @ http://us2.php.net/session_register
HTH
yes I'm using session_start() because it only works with $SESSION['user'] (for exemple). however, how can I see if register globals are on or off?
Try:
$register_globals = (bool) ini_get('register_gobals'); echo $register_globals;
(http://us4.php.net/ini_get) But I would also suggest doing a phpinfo() (http://us4.php.net/phpinfo) and saving a copy of the output. There will be lots of times when you will want to know something from it....
yes I already do that, it's in php.ini. However it says for security reasons it's not sould be kept off,