Re: blocking exec() silently

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

 



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


[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