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? 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. 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. 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. 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
Archived
This topic is now archived and is closed to further replies.