Re: Re: Get your *own* IP...?!
| From: | Stephen | Date: | Mon, 06 Jan 2003 21:38:15 +0000 |
| Subject: | Re: Re: Get your *own* IP...?! | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-130494@lists.php.net to get a copy of this message | ||
Try echoin out this:
getenv("SERVER_ADDR");
----- Original Message -----
From: "Charles likes PHP" <charles2u@hotpop.com>
To: <php-general@lists.php.net>
Sent: Monday, January 06, 2003 4:33 PM
Subject: [PHP] Re: Get your *own* IP...?!
: No, it has to be an absolute path...
:
: $_SERVER["SERVER_ADDR"] seems to be empty on my system and I couldn't find
: anything about that variable in the manual either...
:
: Aaargghhh!
:
: "Charles Likes Php" <charles2u@hotpop.com> schreef in bericht
: news:20030106204547.47349.qmail@pb1.pair.com...
: > Does anyone know a way to fetch your own IP-adress? I need it because I
: run
: > a web server on my computer with a dynamic-IP so I need it to change all
: the
: > URLs it creates dynamically...
: >
: > Thanks!
: >
: > -Charles
: >
: >
:
:
:
: --
: PHP General Mailing List (http://www.php.net/)
: To unsubscribe, visit: http://www.php.net/unsub.php
:
:
: