turkman Posted March 19, 2010 Share Posted March 19, 2010 my admin functions are in /admin/adminstuff.php my images are in /images/imagename.jpg in adminstuff im making a string "../images/imagename.jpg" then putting it into unset, however it doesnt delete the image. Any ideas? Quote Link to comment https://forums.phpfreaks.com/topic/195866-unset-on-images-down-a-directory/ Share on other sites More sharing options...
oni-kun Posted March 19, 2010 Share Posted March 19, 2010 I believe the incredibly simple mistake, is you need to use unlink instead of unset. Quote Link to comment https://forums.phpfreaks.com/topic/195866-unset-on-images-down-a-directory/#findComment-1028828 Share on other sites More sharing options...
turkman Posted March 19, 2010 Author Share Posted March 19, 2010 sorry my mistake. Quote Link to comment https://forums.phpfreaks.com/topic/195866-unset-on-images-down-a-directory/#findComment-1028831 Share on other sites More sharing options...
oni-kun Posted March 19, 2010 Share Posted March 19, 2010 sorry my mistake. No problem, I've typod functions atleast 2 times today. Quote Link to comment https://forums.phpfreaks.com/topic/195866-unset-on-images-down-a-directory/#findComment-1028832 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.