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

Get IP address 2

Status
Not open for further replies.

LonnieJohnson

Programmer
Apr 16, 2001
2,628
US
I would like to build a web page for a website that would show the IP address for the site. I have a site that has a dynamic address. I need the IP address to gain remote access to some files and database applications.

Is this an easy task? I was told I need to do it via ASP. I have a little ASP knowledge. I am a database programmer by skill.

Thanks for any help.

ProDev, MS Access Applications
Visit me at ==> Contact me at ==>lonniejohnson@prodev.us

May God bless you beyond your imagination!!!
 
you can use server variables to gain access to that type of data

_____________________________________________________________________
onpnt2.gif

Hakuna matata!!
 
Put this in your HTML code...

<tt>
<%Request.ServerVariables(&quot;LOCAL_ADDR&quot;)%>
</tt>
 
Don't include the <tt> and </tt> when you use it... that was me forgetting how to use the formatting on this site!
 
Thanks guys, I realy appreciate it!!!!

ProDev, MS Access Applications
Visit me at ==> Contact me at ==>lonniejohnson@prodev.us

May God bless you beyond your imagination!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top