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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Want to Display IP of Visitor

Status
Not open for further replies.

spikestik

IS-IT--Management
Jan 28, 2003
59
0
0
US
Hello All .. I am not much of a programmer so bear with me on this. I am looking for a script that I can make hidden from my users which when executed will display their IP address on the screen to them.

I would like it to be a cross browser compatible method.

We are all familiar with sites such as whatismyip....so that is kinda like what I want to accomplish.
 
If you have access to server side scripting such as PHP or ASP, then check the environment variable REMOTE_ADDR. Otherwise, if your sever supports SSI, then you can use a script like this.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top