From: ACS LLC on
I need to upload photos to a site, I want to make sure that they are only JPG
files uploaded, plus restrict the size.

Is there anyway to check the filesize and type before uploading? Or can
somebody upload a 20meg EXE file that would hog our bandwidth?

Also, how do I check the file extension to make sure it's JPG? When I look at
it I get TMP, and if I save it I seem to have to specify an extension?

Thanks

Mark