And this won't pose as a security risk to me?

It will. You could emulate namespaces in php. Do something like this:

function init_namespace()
{
   // all your script code goes here
}
init_namespace(); // notice the call

This way any globally registered post/get/cookie etc variables wont be accessible by your code without extra global keywords.

Or go another way to write your code register_globals independant.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to