Results 1 to 2 of 2

Thread: Collect local information e.g. username

  1. #1
    Join Date
    May 2007
    Location
    England, UK
    Posts
    235
    Thanks
    3
    Thanked 6 Times in 6 Posts

    Default Collect local information e.g. username

    I don't think it's possible but...

    I've got a PHP script that inputs searches into a database.

    As i'm only using this script for a local intranet site i would like to be able to tell whos PC searches are coming from.
    i.e by the windows username or the local IP address (e.g. 192.168.0.10).

    The search part of the site is hosted remotely, is there anyway to collect data from within our LAN?

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    You can't get the window's username, but you can certainly track IPs.

    I'm not sure if this would work with an intranet (though I see no reason why it shouldn't), but tracking IPs can be done by a number of statistics gather suites.

    You *might* even be able to use something like Google Analytics to track only the search page. As long as your server allows for this kind of communication, it should work.

    I must admit, though, I'm not very familiar with the server issues of an intranet vs. the internet. If it were a regular, publicly accessible website, what I suggest would work.

    Hope that gets you started.

Bookmarks

Posting Permissions

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