I am working on a small file manager, I have a php file named deleteop.php, it isn't working and I have tried everything. help?
PHP Code:
<?php
echo '<div align="center"><p>Deleteing'.$_POST['file'].'</p></div>';
$file = $_GET["file"];
if(unlink($file);) {
header( 'Location: http://www.notelek.com/docs/liindex.php' ) ;
}
else {
echo 'Do not Minipulate this url';
}
}
?>