in reply to security issues for allowing images to be uploaded to the server
When a file is uploaded the browser usually sends along some information along with it in the format of headers. The information usually includes the MIME content type. Future browsers may send other information as well (such as modification date and size). To retrieve this information, call uploadInfo().
Alternatively, when this is uploaded to a Unix-like system, you could use the file command line utility to check out what you got. It's really worth playing with a little.
|
|---|