我有一个文件下面的表格称为“foobar.html”:填写,并用PHP提交HTML表单,无需用户输入
<!-- other stuff -->
<form method="post" action="foo.php?cat=1">
<input type="text" name="bar" />
<input type="submit" value="foobar" name="foobar" />
</form>
<!-- other stuff -->
我打开一个PHP脚本文件使用的fopen,怎么办我填写并提交此表单时没有来自用户的任何输入?谢谢