【发布时间】:2017-03-26 15:22:55
【问题描述】:
我想将 php 值发送到 cgi url
<form method="post" action="https://192.168.10.1:10443/cgi-bin/outgoingfw.cgi/cgi-bin/outgoingfw.cgi" style="float:left">
<input name="ACTION" value="disable" type="hidden">
<input name="line" value="0" type="hidden">
</form>
这些值我想通过 PHP POST 请求发送到 url
任何人都可以帮助我如何做到这一点。
【问题讨论】:
-
您在 action 属性中有两次
cgi-bin/outgoingfw.cgi。您也可以查看this tutorial了解更多信息。 -
查找 cURL:php.net/manual/en/book.curl.php
标签: php forms post request cgi