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.
I had the same problem for a while when starting with the class. Found the reason after a while, the cleanup command in the example page deletes the uploaded file.
Since you are dealing with local files, the most likely reason is that you deleted the file after you first ran the script. Simple remove clean() from the script and you should be fine.
I noticed this is a bit late response, but I thought I'd put it here incase anyone looks for a solution.Reply
Since you are dealing with local files, the most likely reason is that you deleted the file after you first ran the script. Simple remove clean() from the script and you should be fine.
I noticed this is a bit late response, but I thought I'd put it here incase anyone looks for a solution.