Directive 'register_globals' is deprecated PHP 5.3
Posted: Wed Jul 08, 2009 5:42 am
Hi
I have rather frustratingly had to upgrade my version of PHP to 5.3 on a server that runs legacy sites. I have successfully managed to get this up and running however I have one small problem that won't go away. I am consistantly getting the following error.
"PHP Warning: Directive 'register_globals' is deprecated in PHP 5.3 and greater in Unknown on line 0 "
I have enabled in register_globals in my PHP.INI file because i have numerous sites that we're developed many years ago which make use of Global Variables.
Would anyone be able to suggest a way that I can hide that damn message, I am at my wits end.
Thanks in advance, Gareth.
I have rather frustratingly had to upgrade my version of PHP to 5.3 on a server that runs legacy sites. I have successfully managed to get this up and running however I have one small problem that won't go away. I am consistantly getting the following error.
"PHP Warning: Directive 'register_globals' is deprecated in PHP 5.3 and greater in Unknown on line 0 "
I have enabled in register_globals in my PHP.INI file because i have numerous sites that we're developed many years ago which make use of Global Variables.
Would anyone be able to suggest a way that I can hide that damn message, I am at my wits end.
Thanks in advance, Gareth.