Pablo Gosse wrote:
> Hi Raditha.  Thanks very much for your reply.  I've not been having much
> luck with this one.
> 
> This is how the images should appear:
> http://web.unbc.ca/~gossep/sample_images/1.gif
> http://web.unbc.ca/~gossep/sample_images/nav-02.jpg
> 
> And here is how they appear after being uploaded:
> http://web.unbc.ca/~gossep/sample_images/1_uploaded.gif
> http://web.unbc.ca/~gossep/sample_images/nav-02_uploaded.jpg
> 
> The results to me seem the same as if an image were FTPed in ascii mode
> instead of binary mode (or auto-detect which would ultimately set the
> mode to binary).

Use strings to look at the files. This:

yPZ-----------------------------7d33511600b6
Content-Disposition: form-data; name="upload"; filename="C:\Documents and 
Settings\gossep\Desktop\ewimages\1.gif"
Content-Type: image/gif
GIF89a

certainly doesn't belong in the image.

> Apache 2.0
> PHP 4.2.2

PHP 4.2.2 is 300 years old - I'm surprised that Apache 2 existed back
then. See <http://www.php.net/manual/en/install.apache2.php>.

Regards...
          Michael

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

Reply via email to