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 thought I would delete the folder named 'test' and try again but I am unable to do anything at all in this folder, not even delete the jpg's in it.
257 "/htdocs/test/test" is current directory.
DELE test_1.jpg
550 test_1.jpg: Permission denied.
! Delete of test_1.jpg failed.
DELE zzzsqIMG_2275_cr.jpg
550 zzzsqIMG_2275_cr.jpg: Permission denied.
! Delete of zzzsqIMG_2275_cr.jpg failed.
DELE test.jpg
550 test.jpg: Permission denied.
! Delete of test.jpg failed.
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: