After upgrading to latest PHP (4.3.0), I am facing problem with sessions variables, form variables and so on.
Right now most of hosting uses register_globals as on.
I changed few, but would like to know from others, to list what all should be changed?
I want the code should work either in register_globals on or off
PHP_SELF ==> $_SESSION['PHP_SELF'];
SESSION_REGISTER('VAR') ==> $_SESSION['VAR'];
ARRAY_KEY_EXISTS('VAR', $_SESSION);
UNSET($_SESSION['VAR']);
form positing ==> $HTTP_POST_VARS['VAR'];
Can others correct me and add missing things?
Right now most of hosting uses register_globals as on.
I changed few, but would like to know from others, to list what all should be changed?
I want the code should work either in register_globals on or off
PHP_SELF ==> $_SESSION['PHP_SELF'];
SESSION_REGISTER('VAR') ==> $_SESSION['VAR'];
ARRAY_KEY_EXISTS('VAR', $_SESSION);
UNSET($_SESSION['VAR']);
form positing ==> $HTTP_POST_VARS['VAR'];
Can others correct me and add missing things?