On Thu, Aug 16, 2007 at 09:50:30PM +0800, hshh wrote:
> I try to disable eval() function in php script, but
> failed. In php.ini disable_functions=eval is not work, 
> but other functions.
> So, is it possible to disable eval()? Thanks.

It don't work because eval() isn't a function.

The Suhosin protection system would let you do so. If an
option:
http://www.hardened-php.net/suhosin/configuration.html#suhosin.executor.disable_eval

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

Reply via email to