<font face="courier new, courier, mono" color="#0000ff" size="3"> <hr> <br><br><title>文件上传</title> <br><br><br><br> //检查是否有文件上传<br> if(isset($UploadedFile))<br> {<br> //unlink($UploadedFile);<br> print("本地 File: $UploadedFile <br>\n");<br> print("名称: $UploadedFile_name <br>\n");<br> print("大小: $UploadedFile_size <br>\n");<br> print("类型: $UploadedFile_type <br>\n");<br> print("<hr>\n");<br> }<br>?><br><form enctype="multipart/form-data" action="38.php" method="post"> <br><input type="hidden" name="MAX_FILE_SIZE" value="4096"> <br><input name="UploadedFile" type="file" size="15"> <br><input type="submit" value="上传文件"> <br> </form> <br><br> <hr> </font><br><img alt="" hspace="0" src="http://img.bitscn.com/upimg/php/20070123/11E55131NP25535.jpg" align="baseline" border="0">