coltrane Posted August 21, 2009 Share Posted August 21, 2009 I have the following string: http://abc.com/ I want to strip away everything but abc.com to use as a compare. Thanks Link to comment https://forums.phpfreaks.com/topic/171335-stripping-unwanted-parts/ Share on other sites More sharing options...
Mark Baker Posted August 21, 2009 Share Posted August 21, 2009 [http://www.php.net/manual/en/function.parse-url.php]parse_url()[/url] Link to comment https://forums.phpfreaks.com/topic/171335-stripping-unwanted-parts/#findComment-903569 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.