PHP Jpeg Uploads Corrupting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings folks,

I'm having a few issues with PHP this evening. I'm uploading various jpg images, doing a resize via GD, and then storing the image in a database.

Usually this works fine, but for some unknown reason I'm getting corrupted uploads. The corruption happens before any processing is done on the image, and I can't seem to work out why. Form is as follows:

<form enctype="multipart/form-data" action="/account/photo" method="post">
<input name="photo" type="file" />
<input type="submit" name="submit" value="Submit" />
</form>

You can view the corrupting image here:

http://nixbox.org/page_image.php?type=full

Any help would be appreciated greatly, I just can't seem to figure this one out.

Scott.

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux