On Fri, 1 Feb 2002 12:37:24 +0100, you wrote: >Hi all > >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 >applicatin/pdf etc?
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. djo -- 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]