Open GoogleCodeExporter opened 9 years ago
unfortunately, PHP/CURL does not allow to set a content type for uploaded file
(the
trick that possible in command line CURL:
fileupload=@filename.png;type=image/png)
I suggest you to use PHP library from this project instead of CURL, it allows
to set
content type during the upload.
Original comment by lyolik1...@gmail.com
on 6 Oct 2009 at 9:00
[deleted comment]
ImageShack.us used to guess which file type is uploaded.
Now it's unable to detect .png and .bmp
Here's what's returned when uploading a .png file
Wrong file type detected for file guybrush-mi1-01.png:application/octet-stream
Original comment by simpletw...@gmail.com
on 10 May 2010 at 9:33
Original issue reported on code.google.com by
goleech...@gmail.com
on 30 Sep 2009 at 3:46