Hi,
My requirement is users to allow upload photos of gif/jpeg for this I am using mime_content_type() function to identify mime type of file.
My problem is when I upload small gif image (size is below 60 bytes) this function is returning mime type is text/plain. If I upload little big size images (>60 bytes) then this function returning proper mime type.
Can yo please help me out on this.
I am using PHP Version 5.2.17
Regards,
Praveen