Hi,
I am trying to use the file upload method "multipart/form-data" post method. Unfortunately it seems (with IE 5.5 at least) that this inserts a header in the file; Content type: image/pjpeg. The files are images that I want to manipulate with the gd library (1.8.3) but this library doesn't recognise them with the header inserted. I'm using PHP 4.04pl1 on RedHat 7.0 with Apache 1.3.14. I would've thought that the header should be stripped when the file is handed off to PHP by Apache but it seems not.
What's the best way to handle image uploads so that I get a raw binary?
Ian.