/home/mjc1/public_html/manage/alditor/alditordelete.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<? @session_start();?>
<?php
// ¿¡µðÅÍ ÀÌ¿ë½Ã ÆÄÀÏ »èÁ¦
$file_name end(explode("/"$_REQUEST['target']));
$delete_file "http://img.easy-bill.co.kr/".$_SESSION[Lux_UID]."/{$file_name}";
$result = @unlink($delete_file);

$msg $result '»èÁ¦µÇ¾ú½À´Ï´Ù.' '»èÁ¦Ã³¸® ½ÇÆÐÇß½À´Ï´Ù.';
$action $result "parent.document.getElementById('imgUrl').value='';" '';

echo 
"<script type='text/javascript'>
        alert('
{$msg}');
        
$action
        parent._iframe.contentWindow.document.selection;
        parent._iframe.contentWindow.document.execCommand('delete', false, null);
        parent.window.close();
      </script>
"
;
?>