Is there a way to delete files from the front end of a web page. A few of my clients have a catalogue where pictures are uploaded and when they go to delete an item the picture is still left sitting there in the images folder. Is there a way of deleting them at the same time?
See http://www.swish-db.com/tutorials/view.php/tid/602 For PHP built-in FTP functions. Inc. deleting files.
Sweet! Thanks TOPS. You're getting pretty fast at the old answering of programming queries. I'm going to start going around saying "TOPS IT" instead of "Google IT". By the way, I hit another brick wall with HSBC. Apparently to generate the orderhash I need to use the exec command to run the testhash.e C++ exectuable and my server hosts have disabled it for security reasons. After another 6 hours I found out that I can use a workaround using mhash and mcrypt. Only mcrypt is installed on the server and I'm waiting yet again to see whether they can install mhash. Somebody please buy me a drink when this is all over!