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

Reply via email to