Deleting a php file
I have a process which asks for a selected folder and then displays the files in the folder. I have a DEL option by each file name, & when selected, go to another page passing the folder name and the file name. Display file name & ask for confirmation. All ok so far. But when I confirm the delete using unlink, I get "no such file or directory in ....public_html/FileDel.php. I've tried using unlink(realpath($fname)), & everything I can think of. Nothing I've tried works. I've also tried using an ftp connection & ftp_delete. No success. Any suggestions will be appreciated!
