Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Client's IP Address

Status
Not open for further replies.

Ikramy

Programmer
Jul 10, 2001
15
AE
hi there,
i use #remote_addr# to get the IP address of the client's machine, but it gives me the IP of the server! so, how can i get the IP of the client's machine?

with regards
 
Are you sure? That sounds impossible.

Is the server on your LAN? Whats the internal ip of the server, and whats the internal ip of the client machine?
 
I'm sure, strantheman
The server is not on my LAN. Say the internal IP of the server is 'A' and the client's machine IP is 'B'.

Can ya help?
 
If you are using a proxy server, only that machines IP will be displayed because all incoming/outgoing traffic is routed through that machine. The same thing applies if you are using a default gateway.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top