Announcement

Collapse
No announcement yet.

Site logger Wanted

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Site logger Wanted

    Is there someone who has a sort off site logger..

    I want to log the address from the web page visitors into a text file. I hope that someone can send me piece off ASP or VB to put in a asp page to log the adresses in to a text file.

    Any one ?????

    Thanx in advance....

    Greetz psychotic

    #2
    These scripts put remote ip into log, and more!.........JG
    HS2PRO - Ocelot, SecuIR, Secu16, Attendence Management Alarm Interface, X-10, LCD Studio VFD Display, 3 Apexis IP Cams, Custom Software Interfaces, GMQ Geiger Graphing
    HS3PRO - Testing

    Comment


      #3
      If you checkmark "Log Logins" on the Web Server tab of HomeSeer options it will put an entry into the HS log when someone logs into your site but this won't give you page by page logging. You can make your asp page aware of the client's IP address by using Request.ServerVariables("REMOTE_ADDR"). Then you can do what you want with it from there.


      Paul

      Comment


        #4
        The following piece of code also provides you with the IP address.

        <BLOCKQUOTE><font size="-1">quote:</font><HR>
        dim ip
        ip=hs.Getipaddress
        response.send "&lt;p&gt;Ip address is: "+ip+"&lt;/p&gt;" <HR></BLOCKQUOTE>

        Comment


          #5
          That gets your own IP address, not that of the visiting computer.

          Nucleus Home Automation
          News, support, and updates for Rover, Network Monitor, TimeIcons, and more

          Comment


            #6
            Thanks for all the help mates.....

            Comment


              #7
              Oeps ... you are right sorry for the confusion [img]/infopop/emoticons/icon_redface.gif[/img]

              Comment


                #8
                At the risk of being verbose, here's code that in a .VBS file works for me, but needs to be updated:

                - huggy
                |
                | - Gordon

                "I'm a Man, but I can change, if I have to, I guess." - Man's Prayer, Possum Lodge, The Red Green Show
                HiddenGemStudio.com - MaineMusicians.org - CunninghamCreativeMaine.website

                Comment


                  #9
                  Thanks Huggy

                  Comment

                  Working...
                  X