Results 1 to 3 of 3

Thread: How to find IP address of a website visitor

  1. #1
    Join Date
    Feb 2009

    How to find IP address of a website visitor

    hello friends,

    I am managing a website and everyday many users visit my website for the information they need. Is there anyway I can find the IP address of my website visitors ? how can I find that ? This is for security reasons.....
    plz help me giving some ideas......thanks

  2. #2
    Join Date
    Apr 2008

    Re: How to find IP address of a website visitor

    To view the IP address of a visitor on your site, add this code in the area where you want it displayed.


    echo $ _SERVER [ "REMOTE_ADDR"];


  3. #3
    Join Date
    May 2008

    Re: How to find IP address of a website visitor

    Finding the IP address of your website visitors may be useful for many reasons, such as tracking site usage or blocking access to specific people.

    Here's how you can find it.
    In an ASP page, within the ASP tags, <% ... %>, you can retrieve the IP address of a user through the ServerVariables collection of the Request object. To do this, you use the code Request.ServerVariables("REMOTE_ADDR")

    Response.Write "Hello! Your IP Address is: " & Request.ServerVariables("REMOTE_ADDR")

Similar Threads

  1. How to Find IP Address of computer with the MAC address
    By OhhLaLaLa in forum Networking & Security
    Replies: 10
    Last Post: 30-12-2011, 09:25 PM
  2. How to open the website by using the IP address?
    By AlandraJ in forum Technology & Internet
    Replies: 6
    Last Post: 30-12-2011, 09:24 PM
  3. Find Best Keyword For Website
    By Lalitkishore5 in forum Technology & Internet
    Replies: 3
    Last Post: 15-01-2011, 05:15 PM
  4. Website address of the Indian universities
    By P-chuha in forum Education Career and Job Discussions
    Replies: 1
    Last Post: 16-11-2010, 06:25 PM
  5. ASP to display IP Address on Website
    By Jesus2 in forum Software Development
    Replies: 5
    Last Post: 04-03-2010, 11:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts