Well, I'm tying to upload an image to my server using PHP, I've never had problems with a script of this kind, but in this case the file is uploaded right, but IE cannot open it, it only shows its red X. Downloading the uploaded file and editing it, it shows me that the upload process adds this lines to the file header:
----here starts the file----
Content-Type: image/pjpeg
----before that, the jpg file...----
Thats it... the mime type is added to the header of the file automatically... The process is, when the form_data is sent, I do a copy($formimg, '/my/folder/'.$newfilename);
The permissions for /my/folder/ are 777, and the owner is my login username (while the owner of the PHP-created files is "nobody").
Please, urgent suggestions!
Best regards,
Ramis.