Re: blocking exec() silently

From: Date: Fri, 14 Sep 2007 00:05:41 +0000
Subject: Re: blocking exec() silently
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-262095@lists.php.net to get a copy of this message
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/

« previous php.general (#262095) next »