Page 1 of 1

Can't upload png images on IE

Posted: Sun Dec 26, 2010 11:49 am
by systemous
What do i have to use instead of image/png in order to upload an image of that format in IE? (For example jpeg is pjpeg. What about png?)

Thank you

Re: Can't upload png images on IE

Posted: Sun Dec 26, 2010 12:26 pm
by s.dot
Where are you using that? Are you checking the type on upload? If so, you can use getimagesize() to determine the type of image it is and you don't have to mess with mime types as that info is returned in the array from getimagesize().