Chris Lee wrote:
>
> use exec() and unix's command 'file'
>
> exec("file $filename");
>
> and admire the output :)
I know, but "file" does not gives it based on /etc/mime.types, it even
has nothing to do with apache.....
Nikolai
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
- [PHP] knowing file's mime-type Nikolai Vladychevski
- Re: [PHP] knowing file's mime-type Chris Lee
- Re: [PHP] knowing file's mime-type Nikolai Vladychevski

