日期:2014-05-16  浏览次数:20404 次

PHP 表单提交/Post地址求助
想弄个刷票的功能,但不知道怎么找到实际的地址。网页结构如下:
<form name="myform" id="myform"  action="http://test.edu.cn/index.php?m=vote&c=index&a=post&subjectid=1&siteid=1" method="post">
<input type="hidden" name="subjectid" value="1">
<div class="votepmain clear">
<ul>
<li><input type="radio" name="radio[]" id="radio" value="268"/>苏州大学</li>
<li><input type="radio" name="radio[]" id="radio" value="278"/>**大学</li>
<li><input type="radio" name="radio[]" id="radio" value="288"/>**大学</li>
</ul>
<div class="shuru_btn"><button class="tp_btn" type="submit" style=""></button></div>
</form>


选择某项后,点提交按钮后的实际的http地址是什么?还是无从知道?谢谢!

------解决方案--------------------
把post的提交方法改成get提交看看瞧!
------解决方案--------------------
php 跨域 post
试试用curl

具体搜索关键字“php curl 跨域 post”
思路

<form name="myform" id="myform" action="http://你的域名/index.php?m=vote&c=index&a=post&subjectid=1&siteid=1" method="post">

http://你的域名/index.php页面接受到$_POST值后用curl向test.edu.cn提交POST值。
------解决方案--------------------
action="http://test.edu.cn/index.php?m=vote&c=index&a=post&subjectid=1&siteid=1"