Possible Duplicate:
ip address of client system
I want to learn local IP address of client. I can do it with Java applet. But I don’t want to do it with applet. Is there any method to know local ip with javascript?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In PHP the user’s IP is stored in
_SERVER['REMOTE_ADDR']. In javascript, you can just call a php page with ajax that prints this information.