一段简单的代码,但我总是得到错误:
Notice: Undefined variable: _files in E:\php5\Mywwwroot\d.php on line 5
源代码就像吹:
b.php:
<html>
<body>
<form action="d.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" />
</form>
</body>
</html>
d.php:
<?php
var_dump($_files);
?>
不知道穿什么 我用谷歌搜索,但没有答案。
我检查 php.ini 文件:
post_max_size = 8M
我现在该怎么办?