adam291086 Posted May 18, 2008 Share Posted May 18, 2008 <?php $file = $_POST['delete']; $file = $file; error_reporting(E_ALL); if (unlink($file)) { echo "$file deleted successful\n"; } else { echo "could not delete $file\n"; } i keep getting the error Warning: unlink(admin/entry_form/form/adam.php) [function.unlink]: No such file or directory in /homepages/30/d227915861/htdocs/admin/rte/view_uploaded_items/delete.php on line 61 could not delete admin/entry_form/form/adam.php when i take the admin/entry_form/form/adam.php and put it into bcyorkshire.co.uk/admin/entry_form/form/adam.php it loads the file. Also i have changed the folder permissions to 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.