> I'm thinking of running a shopping cart package (osCommerce) > that requires > register_globals to be enabled. With all the warnings about > security with > register_globals enabled I'm worried. > > How dangerous is it?
The key defensive step is to initialize all of your session variables at the time you create them, like so: $isAdmin = ''; session_register('isAdmin'); PHP will do the rest ;) Kirk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php