Exemplo n.º 1
0
<?php

include "../../../system.php";
include "../../system.php";
include "../../../function/new_function.php";
include "download_unit.php";
//System-----------------------------------------------------------
$now_table = $pro_download_table;
//System-----------------------------------------------------------
$unit = new download();
$id = $_POST['id'];
$unit->table = $now_table;
$unit->id = $id;
$unit->get_db_var();
$unit->del();
@unlink("../" . $unit->file);
//刪除檔案