Closed

Custom Page Visits Counter with MYSQL

This project was awarded to pratham2003 for $60 USD.

Get free quotes for a project like this
Employer working
Awarded to:
Project Budget
$30-$250 USD
Total Bids
9
Project Description

Hi,
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

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online