急急急,php 模拟get请求,后提示not found

图片说明
<?php

$url = "http://www.gigablast.com/addurl";
$url = $url."?c=main"."&urls=".urlencode("http://www.baidu.com");
echo $url;

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

// 自动跟随跳转
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_AUTOREFERER, 1);

$return = curl_exec($ch);// 执行操作
if (curl_errno($ch)) {
echo 'Errno'.curl_error($ch);//捕抓异常
}
curl_close($ch); // 关闭CURL会话

var_dump($return);// 返回数据

没分,没法悬赏啊,,,

用浏览器去访问网站,同时用f12功能或者fiddler抓http包。然后和你的php的发包比较,看看是不是referer、cookie、useragent、参数、url等几个字段不同。