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 understand the purpose of the script is to upload the images (and it's really great for this puprose) and not delete them but I thought the purpose was also to create a photo gallery and the reality is, sometimes you don't want to keep all the files you upload to your gallery. After a while you may want to delete some images.
I thought maybe there was a way to delete uploaded files using "local manipulation" and the clean function.
The class is a low level script to provide functionality to other scripts, such as a gallery script. The class is not meant to be used as-is, it is meant to be a brick in a bigger system. A file goes in, a file (or more) goes out, that's all.
To delete files from a webspace is a feature that goes beyond the scope of the class. I don't intend to add such a feature in the foreseable future. There are some very good gallery scripts around which provide you with the functionality you wantReply
I thought maybe there was a way to delete uploaded files using "local manipulation" and the clean function.
thanks again.
To delete files from a webspace is a feature that goes beyond the scope of the class. I don't intend to add such a feature in the foreseable future. There are some very good gallery scripts around which provide you with the functionality you want