Page 1 of 1
In localhost Obtaining the IP address
Posted: Tue Oct 08, 2002 12:49 am
by iemem
Hi, I developing a program. but I have a doubt because I want to know the IPAddres when I connect to Internet by modem I have used the $SERVER_ADDR and $REMOTE_ADD, and it gives me the local ip "127.0.0.1" or "192.168.0.1" I would like to know if someone knows how to obtain the modem address, and if possible how can I send an emial.
Thanks
iemem
Posted: Tue Oct 08, 2002 1:13 am
by DSM
in windoze go to run in your start menu, type in command and then type in ipconfig, this will give you your ip
Posted: Tue Oct 08, 2002 1:36 am
by m3mn0n
it's accually:
winipcfg

Posted: Tue Oct 08, 2002 3:03 am
by twigletmac
winipcfg is 'not recognised as an internal or external command operable program or batch file' on Win2K. ipconfig works though.
Mac
Posted: Tue Oct 08, 2002 3:19 am
by mikeq
winipcfg works only on win95, 98, ME
on NT, 2K and XP it is ipconfig