php2????

php程序是与html在一起好还是分开好。有什么区别吗?我编的如下,请大家指教。谢谢。
upload.htm

<html>
<head>
<title>
upload
</title>
</head>
<body>
<form enctype="multipart /form -data"
action="upload.php" method="post">
please choose:
<input name="userfile" type="file"><br>
<input type="submit" value="starting upload">
</form>
</body>
</head>



upload.php
<?php
copy ($userfile."$userfile_name");
echo "filename:".$userfile_name."<br>";
echo "filesize:".$userfile_size."<br>";
echo "filetype:".$userfile_type;
?>