Re: blocking exec() silently

From: Date: Thu, 13 Sep 2007 14:36:48 +0000
Subject: Re: blocking exec() silently
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-262080@lists.php.net to get a copy of this message
On 9/12/07, Samuel Vogel <samy-delux@gmx.de> wrote: Hey guys, Actually I'm still looking for a way to block for example the exec() function without throwing an error!
From: "Nathan Nobbe" <quickshiftin@gmail.com> i dont know why you wouldnt just use the disable_functions directive in php.ini disable_functions = "exec"
I was going to mentionn http://php.he.net/manual/en/features.safe-mode.functions.php and ask you if you need any of those functions, but I prefer Nathan's answer. You may be able to set the error reporting in conjunction with disable_functions and be done. _________________________________________________________________ Can you find the hidden words?  Take a break and play Seekadoo! http://club.live.com/seekadoo.aspx?icid=seek_hotmailtextlink1

« previous php.general (#262080) next »