Did you paste the contents of DealFileUpload.php in your command line and run it?
If so, I should have been more specific. Please execute the DealFileUpload.phpfile itself via the terminal with something like php DealFileUpload.php.
Your PHP should execute and spit out a response, either in the command line itself or in your PHP log file. With Apache on Mac OSX, the logs should be in /var/log/apache2.