php字符串截取域名

1、phpphp //網址html $att='http://www.baidu.com/index/index.html';url $url=prase_url($att);htm $url=$url['host'];//獲取域名blog dump($url);字符串 2、頁面顯示域名 php字符串截取域名
相關文章
相關標籤/搜索