Re: blocking exec() silently

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Samuel Vogel wrote:
Hey,

Thanks for the replies!
safe-mode is not an option unfortunately!
But changing the Error reporting, is the first thing I wanted to do, but when I asked if this was possible on this list, somebody replied, that it this is not possible!

Could you point me to a way, how I can achieve, that the "this function is disabled" error, without suppressing other error messages?

You'll need to overwrite the set_error_handler (see http://php.net/set_error_handler) and use auto_prepend_file - see http://www.php.net/manual/en/ini.core.php .

--
Postgresql & php tutorials
http://www.designmagick.com/

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux