In Progress

Custom Page Visits Counter with MYSQL


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-I want to use the command <include...etc> NOT frame, or iframe...etc

i want the backend to look like:

You are visitor number <include...etc> to this page

and the front end to look like:

You are visitor number 156 to this page

So that i can put the whole sentence in a div tag and customize it or hide it when i want.

4-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.

5-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)

example to the mysql table:

id page visits

1 [url removed, login to view] 235

2 [url removed, login to view] 154

3 [url removed, login to view] 23

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)

(i need a page views counter not a hit counter)

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.

NOTE: i am developing in HTML5, so i do not want old techniques not supported by HTML5.

Thank you very much

Skills: Graphic Design, HTML, MySQL, PHP, Website Design

See more: website design custom coding, paths design, more visits, html5 on line, css code to design a tag, i want to do a frame that i can, custom backend, counter, record html5, html5 show hide, http redirect page, html5 tag div, counter php, require iframe, enter arabic, html5 database front end, php frame options, css table custom, html5 hide, page views php mysql, mysql page number, html5 mysql code, php show information mysql, modify mysql website, modify css table

About the Employer:
( 41 reviews ) Brisbane, Australia

Project ID: #2547681