Re: Get remote servers ip

From: Date: Wed, 22 Sep 2004 12:13:16 +0000
Subject: Re: Get remote servers ip
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-197552@lists.php.net to get a copy of this message
gethostbyname() of course!!! Got it, I just forgot the function name. Thanks, Mag --- Eugeni Doljenko <dolzenko@rsu.ru> wrote: > That's very simple. Use gethostbyname() function. > Look "LXVIII. Network > Functions" for more details. > > ----- Original Message ----- > From: "Mag" <genphp@yahoo.com> > To: "php php" <php-general@lists.php.net> > Sent: Wednesday, September 22, 2004 3:47 PM > Subject: [PHP] Get remote servers ip > > > > Hi, > > I have a textbox where a visitor can enter a site > > name/url (eg: http://google.com) and i need to > display > > that ip on the screen. > > > > how do i get the ipaddress of google.com using > PHP? > > > > Thanks, > > Mag > > > > ===== > > ------ > > - 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!? > > New and Improved Yahoo! Mail - 100MB free storage! > > http://promotions.yahoo.com/new_mail > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: > http://www.php.net/unsub.php > > > > -- > 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!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail

« previous php.general (#197552) next »