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."; } Quote Link to comment 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.