Marc Delisle wrote:
i *think* you are mistaken. I 'm not talking of .htaccess, display_errors level is not only changable by "PHP_INI_SYSTEM" but on *any* level, especially from the php script itself.
If the sysadmin allows it. A sysadmin might use this in php.ini:
disable_functions = error_reporting, ini_set
plz show me where i can be convinced by the opposite.
thank you! I was not aware of that, it was not mentioned on the manual/en/ini.php#ini.list page. But this is not what was checked by www.nexen.net/images/... Before trying to set the error_reporting level one could check by "if function exists" or any probing; if true: use Sebastian's suggested method, old "@" style else.
but it's up to you :)