如何通过curl发送带cookie的会话请求?

时间:2016-06-18 17:50:12

标签: php

我想使用curl将会话和cookie发送到我服务器上的URL。但点击无法计算。

http://requestsite.com/sessionverify.php

sessionverify.php重定向到更新请求的URL。 sessionverify.php的重定向网址为http://requestsite.com/click.php

我该怎么做?

1 个答案:

答案 0 :(得分:0)

您需要查看click.php页面中的内容,可能还有某种javascript代码。看一下它和此页面生成的HTTP流量。当然,您必须使用PHP模拟其功能。