On Fri, 1 Feb 2002 12:37:24 +0100, you wrote:
>i have a skript that sends out various files after versifying tat the
>user is authenticated.
>can i determine the content type of a file with php? like using it on
>pdf and it return
That information is in $APACHE/conf/mime.types
I'm not certain how you'd get it out though. Parse the file? You'd
miss any that had been added with Apache's AddType directive.
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]