err, how about apache_lookup_uri()?
http://docs.wad.cz/php/function.apache-lookup-uri.html
At 20:01 10.1. 2001, Nikolai Vladychevski , Chris Lee <[EMAIL PROTECTED]> wrote
the following:
--------------------------------------------------------------
>besides, a file type can be defined in httpd.conf, not in
>mime.types
>
>At 19:48 10.1. 2001, Nikolai Vladychevski wrote the following:
>--------------------------------------------------------------
>>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]
>------end of quote------
>
>
>____________________________________________________________
>Cynic:
>
>A member of a group of ancient Greek philosophers who taught
>that virtue constitutes happiness and that self control is
>the essential part of virtue.
>
>[EMAIL PROTECTED]
------end of quote------
____________________________________________________________
Cynic:
A member of a group of ancient Greek philosophers who taught
that virtue constitutes happiness and that self control is
the essential part of virtue.
[EMAIL PROTECTED]
--
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]