Re: Is it possible to disable eval()?

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

 



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


[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