Okay thanks so does this look clean and good to you if Im gonna rename it test.php?
<input type=hidden name=MAX_FILE_SIZE value=930000000 />
<input name=userfile type=file />
<input type=\"submit\" value=\"Submit Picture\" name=\"step\"><input type=\"reset\" value=\"Reset\" name=\"reset\"></TD></TR>
</FORM>";
if ($step)
{
$uploaddir = '/home/blabla/pics/';
$uploadfile = $uploaddir . $HTTP_POST_FILES['userfile']['name'];
print "$HTTP_POST_FILES";
if (move_uploaded_file($HTTP_POST_FILES['userfile']['
tmp_name'], $uploadfile)) {
rename("/home/blabla/pics/tmp_file.txt", "/home/blabla/pics/test.php");
}