Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php get domain name from url

parse_url('http://www.website.com/hey.php', PHP_URL_HOST);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #domain #url
ADD COMMENT
Topic
Name
9+5 =