Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

ip address


  • Please log in to reply
6 replies to this topic

#1 harish kumar

harish kumar

  • Members
  • 18 posts
  • OFFLINE
  •  
  • Local time:07:11 AM

Posted 30 May 2009 - 12:47 AM

hello friends, I am going to design a website. I want to display the ip address of visitors on the web page. But I do not know how to display ip address of the visitors using asp. Can any one help me to display ip address of the visitors on the webpage of visitors.

BC AdBot (Login to Remove)

 


#2 KamakaZ

KamakaZ

  • Members
  • 739 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Victoria
  • Local time:12:41 PM

Posted 30 May 2009 - 01:38 AM

i've nerver done it before, but i found this within a few seconds of using google.

<%Response.Write(Request.ServerVariables("remote_addr"))%>

There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.


#3 harish kumar

harish kumar
  • Topic Starter

  • Members
  • 18 posts
  • OFFLINE
  •  
  • Local time:07:11 AM

Posted 31 May 2009 - 12:57 AM

Thanks for the replay. I have tried it and it is working. thanks once again.

#4 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:07:41 PM

Posted 31 May 2009 - 08:50 AM

http://mattgemmell.com/2008/12/08/what-have-you-tried

#5 KamakaZ

KamakaZ

  • Members
  • 739 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Victoria
  • Local time:12:41 PM

Posted 31 May 2009 - 08:15 PM

ok groovicus... from reading that link what i did was wrong... maybe i should have introduced him to Google... i'll remember this for next time!

There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.


#6 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:07:41 PM

Posted 31 May 2009 - 08:49 PM

It wasn't directed at you; just my general frustration when people expect me (us) to do the work for them without showing the slightest bit of effort. It's a great article though.

#7 KamakaZ

KamakaZ

  • Members
  • 739 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Victoria
  • Local time:12:41 PM

Posted 31 May 2009 - 11:50 PM

i second your frustration... and yes, i do love that article...

There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users