Dear all,
I use PHP 5.3 on an IIS. I had to copy my code from another server (which had PHP 4) to this one and I don't want to change the code as I have not enough time for it. So I'd like to hide all warning as I turned on register_globals in php.ini.
PHP shows me the following warning:
PHP Warning: Directive 'register_globals' is deprecated in PHP 5.3 and greater
So I tried to turn off hte warnings in php.ini like this:
error_reporting = E_ERROR & ~E_NOTICE & ~E_DEPRECATED & ~E_WARNING
And after that stopped and restartet the IIS.
But it does not work. Does anybody know how to turn it off in php.ini?
Best regards,
Eva
I use PHP 5.3 on an IIS. I had to copy my code from another server (which had PHP 4) to this one and I don't want to change the code as I have not enough time for it. So I'd like to hide all warning as I turned on register_globals in php.ini.
PHP shows me the following warning:
PHP Warning: Directive 'register_globals' is deprecated in PHP 5.3 and greater
So I tried to turn off hte warnings in php.ini like this:
error_reporting = E_ERROR & ~E_NOTICE & ~E_DEPRECATED & ~E_WARNING
And after that stopped and restartet the IIS.
But it does not work. Does anybody know how to turn it off in php.ini?
Best regards,
Eva