You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

11 lines
390 B

<?php
require_once('../../scripts/sys_utils.php');
require_once('../../scripts/distro_web_utils.php');
if( isset( $_GET['fid']) ){
$FID = $_GET['fid'];
$Data = list_files( '/srv/samba', '/tar.(gz|bz|bz2)$/i' );
foreach( $Data as $D ) if( md5_file( '/srv/samba/'.$D ) == $FID ) @unlink( '/srv/samba/'. $D );
};
header( 'location: /pack_cp.php' );
//print_GO_BACK();
?>