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! Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/40031-deleting-remote-files/#findComment-193609 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.