How can I get the local Computer IP Address when running PHP program in Windows command line (i.e. php getmyip.php)

** Since the PHP did not are run on Webserver, so _SERVER["SERVER_ADDR"] won't work.

Many thanks in advance.

Regards,
Chris


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to