any easy way in PHP to extract the domain name from a url...
for example
and just get
out of it?
for example
and just get
out of it?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
$url = "[URL unfurl="true"]http://www.site.com/?yesf/whatever.html";[/URL]
$parts = split( "?", $url );
echo $parts[0];