I am a computer admin, supposedly full access... but every time I run this snippet script:
Code: Select all
<?php
$file = "index2.php";
if($action == "del"){
unlink($file);
}
?>I've used the chmod function, setting permissions to 0777... only to find the fileperms() function returns the number "33206" on the files. Any Ideas on how to give permissions to my script and files?Warning: unlink() [function.unlink]: Permission denied in c:\program files\apache group\Apache\htdocs\dirinfo.php on line 60