filetype() in php?

Associate
Joined
16 May 2005
Posts
680
All I get is 'file' from the output rather than a mime type.

I've tried a few different options from php.net but get functions not found?

I want to use it in an opendir function to read files and their types already on the server, so I can't use $_FILES['type'].

Cheers
 
Back
Top Bottom