I need a script (php if possible), which logs all pages accessed in a specific directory of the website and saves a datarow with date/time, url, ip and hostname for each page opened.
For example: I want to monitor [url removed, login to view]
Everytime a page in the /test directory is opened, it has to be logged in mysql database. For example, someone opens [url removed, login to view] or [url removed, login to view]
There should also be one page where the rows from the mysql db are displayed. It should be in the style of a calendar, where you have to click on the day in order to get all logs for that day.
Please note that the script should just be placed in the specific folder and it should work! It is not possible that every file in the directory gets connected with the script. Important!
Max budget: $30.