【发布时间】:2011-07-31 03:25:53
【问题描述】:
我在一个名为“foobar.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 -->
我使用 fopen 在 php 脚本中打开此文件,如何在没有用户输入的情况下填写并提交此表单?谢谢
【问题讨论】: