<?php
    $oDtmp
->SearchByDlcID($DlcID);
    while(
$oDtmp->GetRecord()){
        
unlink("../tmp/$oDtmp->DaUpFileName");
        
$oDtmp->Delete();
    }
    echo 
"<meta http-equiv='refresh' content='0; URL=addRegisDoc.php?RsID=$RsID&DtID=$DtID&P=$P'>";
?>