专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅
以下代码可以从URL中获得域名例如:http://souzz.net/html/database/ORACLE/69613.html得到souzz.netfunction get_do($url){  $pattern = "/[\w-]+\.(com|net|org|gov|cc|biz|info|cn)(\.(cn|hk))*/";  preg_match($pattern, $url, $matches);  (count($matches) > 0) {   $matches[0];  }{ &nb [阅读全文] [PDF]
1 共1条 分1页