I'm after a customized php page visits counter that stores all information in a mysql database. The script needs to be able to:
1- Work from ONE central location and serves pages located in different folders.
2-I want to be able to show the number of page visits using one line of code that i put on my pages. and be able to customized using css
3-Does NOT require to manually enter the page names into the database, i want the script to record the name automatically to the db on the first time the page is visited.
4-i want the pages to be shown in the database by page name NOT by id number.
(e.g.: [url removed, login to view] 234 hits, not id=23 234 hits)
5-i need to be able to see visitors ip in the table.
6-i need to be able to specify the duration that the script consider the visitor as "unique" (i.e. 2 minutes, 5 minutes...etc)
7- i need the script to be properly commented so that i can modify it if required.
8- i NOT want to redirect my pages paths to go through the counter php, i.e. to count the visits to "[url removed, login to view]", i need to write my links like this:
<a href="[url removed, login to view]"></a>
NOT <a href="[url removed, login to view]://[url removed, login to view]></a>
9- i need a summary page that shows the pages and total number of hits.
10-The pages names will be in english, however, i want everything to work in UTF-8.
11-Any more beneficial options are welcome, as long as they do NOT require more coding time from my side as i have thousands of pages to be coded.
Thank you very much