Get The Domain Or Host From URL Or Link
How to get the top domain from the URL ?
How to get the host from the URL?
I have the solution for you !!!!!
its a simple for you to use i don't have much to say about this but a simple script for you to use and easy to integrate it will be cool Ohh yes !!!!!
PHP code :
<?php
$url = 'Your Url Here ';
echo $url;
$parse = parse_url($url);
print $parse['host'];
?>
Author : Solomon David
Get The Domain From Long URL Or LinkGet The Domain From Long URL Or LinkGet The Domain From Long URL Or LinkGet The Domain From Long URL Or LinkGet The Domain From Long URL Or LinkGet The Domain From Long URL Or LinkGet The Domain From Long URL Or LinkGet The Domain From Long URL Or LinkGet The Domain From Long URL Or LinkGet The Domain From Long URL Or LinkGet The Domain From Long URL Or LinkGet The Domain From Long URL Or Link
|
Comments
Post a Comment