MySQL DumpUploader in PHP