QuickDump PHP Tool

Hi Roy

Just had quick look at the code, few tips;
  • don't use shell_exec most hosting accounts disable such functions, rather look at unlink, rmdir etc
  • turn on error reporting and get rid of all warning messages but not by turing the warnings off :)
 
Thanks for your input :)

don't use shell_exec most hosting accounts disable such functions, rather look at unlink, rmdir etc
The reason why I'm using the shell_exec function is because it's the easiest way to communicate directly with the server (instead of using cgi scripts). I've never intended its use for shared hosting (mainly dedicated servers and VPS systems).
turn on error reporting and get rid of all warning messages but not by turing the warnings off :)

I've disabled error reporting to hide ugly messages. But it's certainly better to do it your way, so finding the cause of a problem should be easier :)
 
Back
Top