I\'m programming something that allows users to store documents and pictures on a webserver, to be stored and retrieved later. When users upload files to my server, PHP tells m
On a unix system, capturing the output from the 'file' command should provide adequate info.