I'm trying to use mime_content_type() but I get a fatal error,
Call to undefined function: mime_content_type()
My server is running PHP5 as a CGI, and I tried it w/o CGI and it still didn't work. So how can I enable this function? I would like to be able to read the file type of files uploaded through a form (ie $FILES["file"]["tmpname"]) , and they have random names like 3vna37 with no file extension. (BTW, I would rather not just check the file type against the ["name"] field, as people can fake a file extension and mess things up. So any help is appreciated. Thanks!
Paul Houser - www.paulygon.org
Plaid Screen Studios - www.plaidscreen.com