robcrozier Posted February 25, 2007 Share Posted February 25, 2007 Hi, what i'm trying to do is delete a file from a remote directory following a suers action on my website. Basically if a user deletes a product record from the database i would like the associated image(s) to be deleted from the directory too. Anyone know how this is done using PHP? Thanks! Link to comment https://forums.phpfreaks.com/topic/40031-deleting-remote-files/ Share on other sites More sharing options...
AndyB Posted February 25, 2007 Share Posted February 25, 2007 http://ca.php.net/manual/en/function.unlink.php Link to comment https://forums.phpfreaks.com/topic/40031-deleting-remote-files/#findComment-193609 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.