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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php