Link to home
Start Free TrialLog in
Avatar of portal123
portal123

asked on

cmd promt for $_SERVER['REMOTE_ADD']

How can i get by windows command prompt, the same IP # that i get by $_SERVER['REMOTE_ADD'] ??
ASKER CERTIFIED SOLUTION
Avatar of Kani Str
Kani Str
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of portal123
portal123

ASKER

As you know ipconfig command by command prompt in Windows XP to get a local IP address, I get my IP ADDREES by 'ipconfig' command at my computer. But when I compare my  local IP address in my computer with a IP address that i can see by $_SERVER['REMOTE_ADDR'].   Pretty much different...

Sometimes, my local IP address change because my computer's internet connection is not exactly in global IP system. Everytime this happen, I need to access to $_SERVER['REMOTE_ADDR']. So, i just wonder if might find  $_SERVER['REMOTE_ADDR']'s  IP address by command promt in Window XP of my local computer, in place of checking $_SERVER['REMOTE_ADDR'].

I guess,  the IP address that i can get by $_SERVER['REMOTE_ADDR'] is NOT a real IP address, right??  It's a Kind a IP address that filtered by a  router and given a different IP address number by the router.