RE: [PHP] Get remote servers ip [part 2]
| From: | Jay Blanchard | Date: | Wed, 22 Sep 2004 12:48:12 +0000 |
| Subject: | RE: [PHP] Get remote servers ip [part 2] | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-197559@lists.php.net to get a copy of this message | ||
[snip]
and gethostbyname is only displaying the ip if I pass
it something like
www.google.com
Any idea how i can "strip" the first 2 examples to get
the format i can pass to gethostbyname() ?
[/snip]
Start here ... http://www.php.net/url