解决方案 »

  1.   


    那你得先去看下它的js跳转的代码,后用php模拟之。
      

  2.   


    我试过这个方法,但是没搞出来;有没有其他办法,比如说,curl、fsockopen、get_headers、file_get_contents,其他的,用什么能实现呢?
      

  3.   


    我试过这个方法,但是没搞出来;有没有其他办法,比如说,curl、fsockopen、get_headers、file_get_contents,其他的,用什么能实现呢?那试试这个吧 http://blog.segmentfault.com/pcp/1190000000341558
      

  4.   

    php curl
    设置 curl_setopt($ch, CURLOPT_HEADER, true);
    返回信息里正则获取Location:部分
    preg_match('/^Location: (?P<location>.*?)$/m', $hmtl,$match)
    Location:后面的地址就是跳转后的地址。