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 Link to comment https://forums.phpfreaks.com/topic/106186-solved-unlink-problems/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.