class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
First, are you sure it is a JPEG? Sometimes, BMPs are named as JPEG, but are not. You can check that the two first bytes are FFD8. A BMP file would start by 424D.
Secondly, what does say your phpinfo() in the GD section? Does it indicate support for JPEG?Reply
Secondly, what does say your phpinfo() in the GD section? Does it indicate support for JPEG?