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.
There may be several causes. For instance, are you sure that the image is indeed in JPEG format? Also, you hard drive may be full, or the permissions are wrongly set on the destimation directory.
But if I look at the log, it looks to me like the first upload works, and the second fails. Are you calling $foo->clean() in between the two? If yes, you should remove it, as calling it in between removes the uploaded image.Reply
But if I look at the log, it looks to me like the first upload works, and the second fails. Are you calling $foo->clean() in between the two? If yes, you should remove it, as calling it in between removes the uploaded image.