|
Posted by Sensei on 08/05/06 09:52
On 2006-08-03 19:48:45 +0200, Miguel Cruz <spam@admin.u.nu> said:
>> Do you have any link that shows how to disable particular functions?
>> How's the granularity that I can apply --- and that you suggest?
>
> http://my2.php.net/manual/en/features.safe-mode.php#ini.disable-functions
>
> You just put it in php.ini, and you can disable any functions you please.
>
> For instance:
>
> disable_functions = exec,passthru,proc_open,shell_exec,system
>
> I wouldn't stake my career on it but I think that'll cover the ones
> that allow PHP code to invoke arbitrary external programs.
Thank you very much, that helped a lot!
--
Sensei <senseiwa@mac.com>
The optimist thinks this is the best of all possible worlds.
The pessimist fears it is true. [J. Robert Oppenheimer]
[Back to original message]
|