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.
Try to chmod your directory to 777. You might also need to change the owner of the file back to your user (the PHP configuration might set the owner of the uploaded files to the web server).
You can create a little PHP file with the following code in it:
You can create a little PHP file with the following code in it: