-
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?
-
-
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.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks