Page 1 of 1

Unlink question

Posted: Tue Mar 25, 2008 5:38 pm
by unkempt
Could someone be able to tell me if this script actually physically removes the file from the server - or simply hides it??

Cheers

<?php
$myFile=$_POST[delstr];
unlink($myFile);
print "&removed=".$myFile;
?>

Re: Unlink question

Posted: Tue Mar 25, 2008 7:14 pm
by Christopher
unlink() removes the file.