Given "http://google.com/path-to-page" trip to "google.com"
What php and regex would开发者_如何学Python be appropriate?
Use parse_url and get the host
part.
Given "http://google.com/path-to-page" trip to "google.com"
What php and regex would开发者_如何学Python be appropriate?
Use parse_url and get the host
part.
上一篇:去澳洲不得不去的旅游景点?
精彩评论