delete.php 163 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 <?php session_start(); if($_SESSION['name']){ $file= $_GET['name']; unlink($file); header('Location: workArea.php'); } else header('Location: index.php'); ?>