Adventure Game Studio

Community => General Discussion => Topic started by: Gfunkera on Tue 07/09/2004 08:15:50

Title: Track How Many Times It was Downloaded
Post by: Gfunkera on Tue 07/09/2004 08:15:50
Yea, so does anyone know how I can achieve this? I wanna beable to know how many times something has been downloaded like on the AGS Main page.   ???
Title: Re: Track How Many Times It was Downloaded
Post by: Mr Jake on Tue 07/09/2004 08:21:42
Im not sure on the code but it involves PHP and  a text file (or maybe you need a MySQL database) basicly you need to code in PHP that everytime the download link is clicked a variable gets 1 bigger and then save this varible to a txt file, you then need to tell the download counter to read the varible from the txt file, you might find something useful on http://www.webmonkey.com under 'programming' > 'PHP'
Title: Re: Track How Many Times It was Downloaded
Post by: Toefur on Tue 07/09/2004 11:10:36
Something like http://www.phpjunkyard.com/php-click-counter.php should work, if you don't want to screw around trying to make the script yourself. You'll just need to download this one, and install it.