galvin Posted December 29, 2008 Share Posted December 29, 2008 How do I delete an image that is stored on my server in a folder. Like if it's stored at "...images/image.jpg", how can I make PHP delete it completely from that folder. Do I use imagedestroy()? Quote Link to comment https://forums.phpfreaks.com/topic/138802-solved-deleting-an-image/ Share on other sites More sharing options...
DarkWater Posted December 29, 2008 Share Posted December 29, 2008 unlink() Quote Link to comment https://forums.phpfreaks.com/topic/138802-solved-deleting-an-image/#findComment-725782 Share on other sites More sharing options...
galvin Posted December 29, 2008 Author Share Posted December 29, 2008 thank you, sir! Quote Link to comment https://forums.phpfreaks.com/topic/138802-solved-deleting-an-image/#findComment-725783 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.