how to make a php counter

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Smackie
Forum Contributor
Posts: 302
Joined: Sat Jan 29, 2005 2:33 pm

how to make a php counter

Post by Smackie »

Hello im looking for a way to make a php counter that shows how many times the page been uploaded... if anyone could help me out i would appreciate it..


Thank you
Smackie
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

..how many times the script itself has been uploaded?

about the only way I know of, without source control, is using an upload script and a database to do the counting..
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

imho there is only one way to do it right... make a script that analyzes your access.log and count the request for a specific page in there...
Post Reply