您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息
免费发信息
三六零分类信息网 > 朝阳分类信息网,免费分类信息发布

curl post问题

2024/4/4 7:01:31发布30次查看
$voteurl=http://www.qq.com/wenjuan.show.php?act=sub&id=7&ucode=.$aid;
$header= array(
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'curlopt_cookie' => 'phpsessid=a1nvcdhsucj6av9vclsa435si2',
'curlopt_referer' => 'http://www.qq.com/wenjuan.show.php?id=7&ucode='.$aid,
'origin' => 'http://www.qq.com',
'content-type' => 'application/x-www-form-urlencoded',
'connection' => 'keep-alive',
);
$post = array(
'selid%5b%5d' => $id,
'submit' => '+%cc%e1+%bd%bb+',
);
$response = ihttp_request($voteurl, $post, $header);
怎么老提示500错误
回复讨论(解决方案) 函数 ihttp_request 存在吗?
存在,其他人调用就很正常
贴出来看看!
是不是发送过程中,$post = array(
'selid%5b%5d' => $id,
'submit' => '+%cc%e1+%bd%bb+',
);这个又被编码了
朝阳分类信息网,免费分类信息发布

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录