You are here: Re: [PHP] LAN IP address « PHP « IT news, forums, messages
Re: [PHP] LAN IP address

Posted by Erik Gyepes on 08/29/05 18:53

Hi.

I think you want to get the internal IP adress which computer uses? Am I
right?
If yes, that is not possible with PHP directly, but it is possible with
Java and PHP.

Erik

Philippe Reynolds wrote:

> Hi all,
>
> I would like to find a way to get my computers LAN IP address through
> PHP. I tried using the gethostbyname("HOSTNAME") function, however I
> only got back the 127.0.0.1 address.
>
> Any help is always appreciated
> Cheers
> Phil
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация