What happend to "RTFM" ? Is that not "cool" anymore? http://www.php.net/manual/en/ref.mime-magic.php now, R-T-F-M !
- Hannes On Sun, 15 Aug 2004 18:18:29 -0600 [EMAIL PROTECTED] (C.F. Scheidecker Antunes) wrote: > Hello, > > Is there any function where I can pass a file name like "file.png" and > get return the string of its type 'image/png' ? > > Basically it is a funcion that takes a file name and returns a string of > its mime type. > > I have used mime_mail to send attachments but the I need when I am > attaching the file to know its mime type, for instance a zip file or a > jpg or a txt etc. > > Thanks in advance for the help. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php