Menu
Hi all
I’m using this to delete files from my server:
[code=php]
if($_GET[“action”] == “delete” && isset($_GET[“file”])) {
chmod($file, 0777);
unlink(“$path/$file”);
}
but what I need is when the delete image is clicked (which invokes the action) a pop box asks to confirm that I wish to delete the file.
does this sound easy enough?
Cheers
Chris