本帖最后由 lovemuou 于 2014-01-28 04:13:23 编辑

解决方案 »

  1.   

    看看header中的东西,一般是没有模拟好。
      

  2.   

    header("Content-type: text/html; charset=GB2312");
    $url = "http://detail.tmall.com/item.htm?id=2315770603";
    //$url = "http://www.donlimmall.com/";
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_HEADER, false);
    curl_setopt($ch, CURLOPT_COOKIEJAR, "cookie00.txt");
    curl_setopt($ch, CURLOPT_COOKIEFILE, "cookie00.txt");
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION,1); 
    $ret = curl_exec($ch);
    curl_close($ch);
    echo $ret;
      

  3.   


    sorry 我发错了这个是天猫的链接。。哥们 淘宝的怎么抓啊 http://item.taobao.com/item.htm?id=16396503658