When i upload an image file (i.e. a jpeg) to the server
using php, it gets corrupted. Indeed the GIMP is no
longer able to open it.
Opening the uploaded file with a text editor i found that
the following 2 lines were added at the top (as displayed by
vim, my text editor):

Content-Type: image/jpeg^M
^M

This happens on my yellowdog (a redhat 7.1
derived powerpc based distro) linux box, with version 4.0.4pl1
of php. On the other hand, on a i386 debian machine vith
php 4.0.3pl1 everything works fine.

Is this a known bug/issue?

Thasks,
        fbv

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to