I think his uploads folder is outside the html directory, meaning that apache won't serve it due to permissions or the httpd config or whatever.
The $_FILES array might tell you the mime type of files that get uploaded. You could store it in your database. Try searching the docs at php.net for 'uploading'
I'm not at all sure exactly how MIME types work, but I think that browsers will communicate it to your server when handing off the file. You can't rely on the file extension (such as '.jpg') because Macs don't necessarily have them.
Also, I think it would be good if your upload script examined whatever mime types that people upload to prevent them from uploading viruses or executables or trojans or whatever. In other words, you should have a set of 'acceptable mime types' and reject any that aren't listed there.
If you set up your code correctly, you can report which mime types your scripts are rejecting either in an error message (e.g., "Sorry but files of type 'application/exe' are not permitted') or you can log it.