Is there a way to safely run a user-supplied PHP script? I think I must disable:
- fopen and all other file related functions
- exec and other way to execute a command
- curl
- mail to prevent spam
Is that enough? How I can disable all that stuff(only for that script, not for my scripts)?
Thanks for help.