Using the Unlink Function
Posted: Sat Feb 19, 2005 1:22 pm
I'm trying to use a the unlink Function
I'm passing information actoss the url
http://mysite.com/Deletefile.php?file=t ... filepasth/
Then Im geting the information with the $_GET
But the unlink doso not work.
I'm passing information actoss the url
http://mysite.com/Deletefile.php?file=t ... filepasth/
Then Im geting the information with the $_GET
But the unlink doso not work.
Code: Select all
<?php
$file=$_GETї'file'] ;
$dir=$_GETї'dir'] ;
unlink($file$dir) ;
echo "the file : $file has been delete";
?>