Blame view

htdocs/documents/delete.php 163 Bytes
c10d2abc   rcavalie   ajout fichiers se...
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');
  ?>