创建一个文件上传表单,允许用户从表单上传文件是非常有用的,请看下面这个供上传文件的 html 表单,代码如下:
<html>
<body>
<form action="upload_file.php" method="post"
enctype="multipart/form-data">
<label for="file">filename:</label>
<input type="file" name="file" id="file" />
<br />
<input type="submit" name="submit" value="submit" /&...