Disabling PHP mail() and file uploads


Hi folks,

Can’t believe I’m only just registering with this forum now… I’ve been using Dreamhost for years!

Question: I’m setting up a demo of some software I develop and need to disable PHP mail() and file uploads on the server, to prevent abuse. What’s the best way to do this, do you think?

[And yes, I can prevent this in the script, but I’d feel much better if it was disabled on the server as well].


  • Ben