Can't disable Register Globals warning!!
Posted: Thu Feb 25, 2010 4:04 am
Hi,
I have PHP 5.3 and legacy sites which require REGISTER GLOBALS on.
How can I stop the damn warning messages from PHP saying "PHP Warning: Directive 'register_globals' is deprecated in PHP 5.3 and greater"?
I have tried changing the error reporting value in my php.ini and nothing has worked yet.
Values I have tested:
E_ERROR | E_CORE_ERROR | E_COMPILE_ERROR | E_PARSE & ~E_DEPRECATED & ~E_USER_DEPRECATED
E_ERROR ^ E_NOTICE ^ E_DEPRECATED ^ E_USER_DEPRECATED
E_ALL&~E_DEPRECATED
None of them worked...
Please help!
Neil - http://www.hencam.co.uk - for when you really want to watch hens on the Internet...
I have PHP 5.3 and legacy sites which require REGISTER GLOBALS on.
How can I stop the damn warning messages from PHP saying "PHP Warning: Directive 'register_globals' is deprecated in PHP 5.3 and greater"?
I have tried changing the error reporting value in my php.ini and nothing has worked yet.
Values I have tested:
E_ERROR | E_CORE_ERROR | E_COMPILE_ERROR | E_PARSE & ~E_DEPRECATED & ~E_USER_DEPRECATED
E_ERROR ^ E_NOTICE ^ E_DEPRECATED ^ E_USER_DEPRECATED
E_ALL&~E_DEPRECATED
None of them worked...
Please help!
Neil - http://www.hencam.co.uk - for when you really want to watch hens on the Internet...