On my upcoming site I am going to try something new, but I am unsure about how to go about laying it out and programming it. I am looking for some help here and methods to be listed...
I want to have a system where I give out a script to my users, this script counts pageviews and returns it (with site id) to my MySQL database, where I will then rank there site amognst others to produce a top ten and low ten.
I was thinking about an include(); but this would make it easy for my members to get my database credentails and therefore edit there count / or hackers could get in this way.
My basic principal is this:
> Script given to user with site id on it (this is the script i need help with)
> Script then gets site id and +1 to their pageview count