操作系统linux fedoro6  php版本是5.16
upload.html:<html>
<head>
<title>文件上传</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<H1>文件上传</H1>
<form enctype="multipart/form-data" action="upload.php" method="post"> 
  <input name="upfile" type="file"><BR> 
  <input type="submit" value="Submit"> 
</form>
<body>
</body>
</html>
-------------------------------------------------------------
upload.php:
<?php
$uploadfile = "files/". $_FILES['upfile']['name'];
move_uploaded_file($_FILES['upfile']['tmp_name'], $uploadfile);
print_r($_FILES);
?> 
----------------------------------------------------------上传文件后的错误提示如下:
Array ( [userfile] => Array ( [name] => 111.txt [type] => application/octet-stream [tmp_name] => /tmp/phpF5pw8m [error] => 0 [size] => 0 ) )
---------------------------------
看了php.ini的设置,没发现有什么配置错误
files目录也开启了读写权限