How can I disable the dangerous eval function? Can that be done using ini_set function?
Also how to disable following functions? Ca
The disable_functions directive is only available in the php.ini configuration.
To disable functions at runtime wouldn't make much sense, since you would be able to modify the disabled function list at runtime to re-enable functions as well.