You are here: Re: Server IP Address « PHP Language « IT news, forums, messages
Re: Server IP Address

Posted by Fred Atkinson on 10/24/71 11:20

On Tue, 05 Jul 2005 23:30:09 +1200, Chris Hope
<blackhole@electrictoolbox.com> wrote:

>print_r($_SERVER)

I'll give this a shot.

I am running a dynamic IP address on a server. I am
discovering that my hosting provider changes my IP address from time
to time. When I pull up the server from another location, I want to
be able to keep tabs on what the IP address has changed to.

I have a client on the server that updates the DNS record
whenever the gateway IP address changes. So, I'll always be able to
pull up the Webserver even if the IP address changes. I just want to
easily display it.

Of course, I could ping the domain name, but I'd like to code
it into the page, if possible.


Fred

 

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

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