代码如下:
HTML页面<html>
<head>
    <title>文件上传 </title>
</head>
<!--show page-->
<body>
    <div style="position:absolute;top:50%;left:50%;margin:-100px;width:200px;height:200px;background:#ffffff">
        <table>
            <form action="upload.php" method="post" enctype="multipart/form-data">
                <input type="hidden" name="MAX_FILE_SIZE" value="1024000">
                <tr>
                    <td>
                        <label for="file">
                            需要上传的文件:
                        </label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <input type="file" name="uploadfile" size="30">
                    </td>
                </tr>
                <tr>
                    <td style="height: 26px">
                        <input type="submit" name="btnPostFile" value="上传">
                    </td>
                    <td style="height: 26px">
                        <input type="reset" name="btnReset" value="重置">
                    </td>
                </tr>
            </form>
        </table>
    </div>
</body>
</html>php页面 $nLimitTime = 0;
set_time_limit($nLimitTime);//设置超时限制时间,缺省时间为 30秒,设置为0时为不限时
 $upfiles=$_FILES['uploadfile'];   
print_r($upfiles);
  move_uploaded_file($upfiles['tmp_name'],"/upload/".$upfiles['name']); 
  exit;当我上传几十K的文件时候 就可以正常上传 可是只要超过1M $upfiles['tmp_name']就是为空。这是为什么呀 php.ini文件我也改了 
auto_globals_jit = On
post_max_size = 2000M
magic_quotes_gpc = Off
magic_quotes_runtime = Off
magic_quotes_sybase = Off
auto_prepend_file =
auto_append_file =
upload_tmp_dir = /tmp
upload_max_filesize = 2000M
default_socket_timeout = 60
请问是什么问题呀 客户端通过调用我的php文件就可以上传大的文件 为什么 我用表单上传就不行呢
请高手帮小弟解决一下呀