Location: PHPKode > projects > PHPExplorer > modules/supprimer.php
<?
  require_once("../include/varsfuncs.php");

 for($i=0;$act[$i];$i++){ $d=$act[$i];
  if(@is_dir($dir.$d)){ delrep($dir.$d."/"); }else{ if($ecrabouille==1) erase($dir,$d); else 
  @unlink("$dir$d");}
 }
 if(count($act)>1){$pl="s";$av="ont";}else{$pl="";$av="a";}
  print("<Script Language=\"JavaScript\">alert('Le$pl fichier$pl $av été supprimé$pl !');window.location.href='$path"."index.php?dir=$dir&tag=rel&rand=".rand(0,9999)."';</Script>");

?>
Return current item: PHPExplorer