getting the IP address of a visitor to a site

Ask a Question related to PERL Beginners, Design and Development.

  1. #1

    Default getting the IP address of a visitor to a site

    Hi all,
    I am writting a hit counter and would like to get the IP address of a
    visitor to my site, can anyone point me in the right direction please. :D

    Thanks in advance

    Anadi

    __________________________________________________ _______________
    Express yourself with cool emoticons - download MSN Messenger today!
    [url]http://www.msn.co.uk/messenger[/url]

    Anadi Taylor Guest

  2. Similar Questions and Discussions

    1. Allow-tag in Vhost.xml - is it address of .swf or the visitor?
      Hello, what is meant by the <Allow>address</Allow> im Vhost.xml? Ist it the address of the visitors PC or is it the address of the...
    2. Site Visitor's eMail Address
      I teach Mathematics using Internet to secondary school students. I have many students to whom I send emails on Monday, Wednesday, and Friday. ...
    3. checking visitor stay duration on site? how?
      Hi, I would like to check how long a visitor stays on my (flash)site. I can start a timer with: starttime = getTimer(), then endtime =...
    4. site check address
      http://www.klp.biz/roberts/index.html Referring URLs http://www.klp.biz/roberts/index.html
    5. WEB SITE ALLOW! ? ADDRESS? SETUP?
      I want to publish my web page for the world to see. How do I setup my xp home edition to do this and what will my address be? I've been fooling...
  3. #2

    Default getting the IP address of a visitor to a site

    Hi all,
    I am writting a hit counter and would like to get the IP address of a
    visitor to my site, can anyone point me in the right direction please. :D

    Thanks in advance

    Anadi

    __________________________________________________ _______________
    Sign-up for a FREE BT Broadband connection today!
    [url]http://www.msn.co.uk/specials/btbroadband[/url]

    Anadi Taylor Guest

  4. #3

    Default RE: getting the IP address of a visitor to a site

    > Hi all,
    Howdy
    > I am writting a hit counter and would like to get the IP address of a
    > visitor to my site, can anyone point me in the right
    > direction please. :D
    >
    $ENV{'REMOTE_HOST'}

    perldoc perlvar
    Look for the %ENV section

    HTH

    DMuey
    > Thanks in advance
    >
    > Anadi
    >
    > __________________________________________________ _______________
    > Express yourself with cool emoticons - download MSN Messenger today!
    > [url]http://www.msn.co.uk/messenger[/url]
    >
    >
    > --
    > To unsubscribe, e-mail: [email]beginners-unsubscribe@perl.org[/email]
    > For additional commands, e-mail: [email]beginners-help@perl.org[/email]
    >
    >
    Dan Muey Guest

  5. #4

    Default Re: getting the IP address of a visitor to a site

    On Thu, 11 Sep 2003 12:46:24 +0000
    "Anadi Taylor" <cu4productions@hotmail.com> wrote:
    >
    > I am writting a hit counter and would like to get the IP address of a
    > visitor to my site, can anyone point me in the right direction please.
    You might look at Enviroment variables, partcicularly

    $ENV{REMOTE_ADDR} or maybe $ENV{REMOTE_HOST}



    --
    Owen
    Owen Guest

  6. #5

    Default Re: getting the IP address of a visitor to a site

    In a message dated 9/11/03 6:10:06 PM Eastern Daylight Time,
    [email]rcook@pcug.org.au[/email] writes:

    > On Thu, 11 Sep 2003 12:46:24 +0000
    > "Anadi Taylor" <cu4productions@hotmail.com> wrote:
    >
    > >
    > > I am writting a hit counter and would like to get the IP address of a
    > > visitor to my site, can anyone point me in the right direction please.
    > You might look at Enviroment variables, partcicularly

    $IP_Address = $ENV{REMOTE_HOST};



    Jimstone77@aol.com Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139