On 9/12/07, Samuel Vogel <samy-delux@xxxxxx> 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@xxxxxxxxx>
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php