摘要: 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 liushan 阅读(210) 评论(0) 推荐(0)