$url = http://ws.china.alibaba.com/dct/productlist.php?id=4645
想获取跳转后的url地址http://item.taobao.com/item.htm?id=19979764594,该怎么写
想获取跳转后的url地址http://item.taobao.com/item.htm?id=19979764594,该怎么写
HTTP/1.1 200 OK
Date: Thu, 25 Oct 2012 09:40:46 GMT
Server: Apache/2.2.16 (Unix) mod_ssl/2.2.16 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.14
X-Powered-By: PHP/5.2.14
Set-Cookie: PHPSESSID=8acf11e5b23c33679cb8bd7ad10c7b1a; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Connection: close
Content-Type: text/html; charset=gb2312没有跳转地址呀
HTTP/1.1 200 OK
Date: Thu, 25 Oct 2012 09:40:46 GMT
Server: Apache/2.2.16 (Unix) mod_ssl/2.2.16 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.14
X-Powered-By: PHP/5.2.14
Set-Cookie: PHPSESSID=8acf11e5b23c33679cb8bd7ad10c7b1a; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Connection: close
Content-Type: text/html; charset=gb2312没有跳转地址呀