Thread: PHP counter: by mitsurug1

View Single Post

  #3 (permalink)  

Old 01-24-2005, 11:50 AM

to count file downloads or image views, i would create a database that stores info for each file. This database would hold the file name/ location / info, and an index number.

on your download page it would have links that would point to a download counter, ie: download.php?id=1 or whatever file it was.
Then in your download.php, it would update the download count everytime that page was requested.
__________________
Audi Videos | MySpace Layouts | About Me | Kid Sniffles
[ reply ]
missionsix

missionsix is offline http://patandrew.com/

missionsix's Avatar

Join Date: Feb 2004

Location: under you.

Posts: 4,921

Send a message via AIM to missionsix Send a message via MSN to missionsix