RE: [PHP] local IP script question

From: Date: Wed, 16 Oct 2002 08:57:23 +0000
Subject: RE: [PHP] local IP script question
Groups: php.general 
Request: Send a blank email to php-general+get-120139@lists.php.net to get a copy of this message
Hi, > I'm running Apache/PHP on my machine (WinXP Pro).. > I want to create a local php script that detects my > ISP's assigned IP address and add a port to it > (e.g.: http://xxx.xxx.xxx.xxx:xxxx ).. If the machine that's running Apache is the same as the machine that gets an IP from your ISP, you probably want to look into $_SERVER["SERVER_ADDR"]. Cheers Jon

« previous php.general (#120139) next »