RE: [PHP] Get remote servers ip [part 2]
| From: | Mag | Date: | Wed, 22 Sep 2004 13:14:50 +0000 |
| Subject: | RE: [PHP] Get remote servers ip [part 2] | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-197565@lists.php.net to get a copy of this message | ||
Hey,
Thanks Jay, I needed a starting point and after
reading at the url you posted I think I need
parse_url...
Thanks,
Mag
--- Jay Blanchard
<jay.blanchard@niicommunications.com> wrote:
> [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
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
=====
------
- The faulty interface lies between the chair and the keyboard.
- Creativity is great, but plagiarism is faster!
- Smile, everyone loves a moron. :-)
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail