mime_content_type
| From: | dtra | Date: | Tue, 22 Nov 2005 10:52:03 +0000 |
| Subject: | mime_content_type | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-16831@lists.php.net to get a copy of this message | ||
hi all
just installed php 5 on fedora core 4 with apache 2
i'm having a problem with the mime_content_type function
it will only say text/plain for png files
jpegs and gifs are ok, but most everything else it reads as text/plain
i have this working on windows, using the tips on php.net/mime_content_type
and assumed it would work out of the box on linux
strange thing is, when i upload a file, and use $_FILES['uploadedFile']['type'] it gets 'image/png'
just issues with mime_content_type()
does anyone know if i can upgrade something or point to a file somewhere to get mime_content_type more accurate?
thanks
dave