techker Posted March 23, 2010 Share Posted March 23, 2010 hey guys is there a way to fix getting an error 500 with unlink? simple script. $file = $_GET['File']; //chdir('/admin/uploads/big/'); $do = unlink($file); if($do=="1"){ echo "The file was deleted successfully."; } else { echo "There was an error trying to delete the file."; } Link to comment https://forums.phpfreaks.com/topic/196286-unlink-error/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.