Hello,
How should I write my code to make it independent from "register_globals" setting in php.ini.
As far as I understand if I make "register_globals=on", php places all session variables into $GLOBALS[] and not into $HTTP_SESSION_VARS[] and opposite if "register_globals=off"
So in both ways my code doesn't work if I change "register_globals" to opposite.
Either $HTTP_SESSION_VARS[] is empty or $GLOBALS[] (I mean there are no session vars)
I suspect there is solution wich I don't know.
Thank you !
Leonid