http://www.bpan123.com/?p=1095他是如何跳转的~~
如何通过PHP得到此URL跳转后的URL

解决方案 »

  1.   

    简单的办法是用wireshark之类的抓包软件先抓包,看看是个怎么跳转方式,是用meta字段还是header或是javascript跳转,确定方式了,再配合get_headers或者file_get_contents之类的函数获取那个页面的内容,再提取。
    如果就想知道跳转到哪,用wireshark就够了
      

  2.   

    get_headers或者file_get_contents之类的函数获取那个页面的内容,先分析下看看,也许也能有结果了
      

  3.   

    HTTP/1.1 200 OK
    Server: nginx/1.0.10
    Date: Sat, 02 Feb 2013 04:35:22 GMT
    Content-Type: text/html; charset=UTF-8
    Transfer-Encoding: chunked
    Connection: keep-alive
    Vary: Accept-Encoding
    X-Powered-By: PHP/5.2.17p1
    Set-Cookie: wordpress_a31e5939480b024ec8ac557fa1c23845=%7C1360989322%7C8dd61964358f7418d4da05c279b45fb7; expires=Sat, 16-Feb-2013 04:35:22 GMT; path=/wp-content/plugins; httponly
    Set-Cookie: wordpress_a31e5939480b024ec8ac557fa1c23845=%7C1360989322%7C8dd61964358f7418d4da05c279b45fb7; expires=Sat, 16-Feb-2013 04:35:22 GMT; path=/wp-admin; httponly
    Set-Cookie: wordpress_logged_in_a31e5939480b024ec8ac557fa1c23845=%7C1360989322%7Cc704a0e35d427421ad19dc66c645f5d2; expires=Sat, 16-Feb-2013 04:35:22 GMT; path=/; httponly
    X-Pingback: http://www.bpan123.com/xmlrpc.php
    没有跳转