Forum Moderators: coopster
I've tried blocking the known user agents, but a lot of the recent ones aren't sending a user agent at all, or the standard mozilla one.
I don't control the server itself, and the admin said that putting in apache controls to stop this would be too processor intensive.
My idea was to have a db table that stores the unique ips, the number of pages, and the last access timedate stamp.
Everytime the script is run it will try to retrieve the row with the ip address, if it exists it will increment the number of page loads, and set the time to the current time if the last page load was within 15 minutes of the last page load.
Otherwise it'll insert the new ip, etc.
I just don't want to reinvent the wheel if this has already been done and is readily available somewhere.
Thanks.