取得301转向后的地址
摘要:PHP CODE:<?phpfunction get_301($url){ while (true){ $matches = parse_url($url); if ( ! @$matches['host']){ throw new Exception('url wrong!'); } $host = @$matches['host']; $matches['query']=isset($matches['query'])?$matches['query']:null; $path ...
阅读全文
posted @ 2013-04-01 16:17


浙公网安备 33010602011771号