Entry
Can I disable an internal PHP function?
May 5th, 2005 00:18
Hossam Hossny, Nathan Wallace, Stanislav Malyshev
You can try to go to the C code that implements the function and just
remove the part of the function that does the actual work.
For example, to stop users using the link function just remove the part
that does the actual filesystem link.
After making the changes, recompile.
----------------------------------
Added by: Hossam Hossny
a simple way to do this is to use the disable_functions directive in
your /etc/php.ini configuration file.
Cheers,
Hossam