View Full Version : times downloaded script

03-21-2004, 02:42 AM
where can i find a "times downloaded" script? If you have a bunch of downloads on a page, it shows how many time each has been downloaded.

03-21-2004, 03:01 AM
I don't know if this can be achieved with javascript, and if so it wouldn't be the most practical approach. I would try a php/mysql script so that the number of downloads could be stored in a database.

Philip M
03-21-2004, 09:46 AM
Javascript cannot write to a file, so it cannot store a counter or other data/variable. This can only be done server side with php, Perl etc.

03-21-2004, 09:34 PM
oh, ok, thanks.