[PHP] is there a way to track downloads

2002-06-23 Thread Kevin J
Hey all, I would like to place some files on my site and use PHP to track how many users have downloaded those files. Is this possible? Is the PHP code only placed on this one page? I don't know PHP all that well, but my host supports it, and I want to track downloads, also to be able ot have

Re: [PHP] is there a way to track downloads

2002-06-23 Thread Duncan Hill
On Sun, 23 Jun 2002, Kevin J wrote: Hey all, I would like to place some files on my site and use PHP to track how many users have downloaded those files. Is this possible? Approach the problem logically: 1) You have a series of files that you want people to download. 2) You want to

Re: [PHP] is there a way to track downloads

2002-06-23 Thread Kevin J
Hello, My fault, I didn't state that i was a complete Newbie to PHP. I am looking at scripts and realize that I need to use a database for this, etc... so I am just gonna forget the whole thing. Thanks anyways Kevin J Duncan Hill [EMAIL PROTECTED] wrote in message [EMAIL

Re[2]: [PHP] is there a way to track downloads

2002-06-23 Thread Julie Meloni
KJ I am looking at scripts and realize that I need to use a database for this, KJ etc... so I am just gonna forget the whole thing. Unfortunate, that giving up so easily! You can also do exactly the same type of tracking in a plain text file, if you do not have access to a db. Substitute

Re: Re[2]: [PHP] is there a way to track downloads

2002-06-23 Thread Kevin J
Well see I don't know where to begin all this. I have a plain html page, with links to the songs: ../music/song.mp3 And I woudn't know where to start, in creating a php track file, or a text file to keep track. I am able to have MySQL on the hosting server, which I am going to enable... and

Re: Re[2]: [PHP] is there a way to track downloads

2002-06-23 Thread Duncan Hill
On Sun, 23 Jun 2002, Kevin J wrote: Sorry for giving up, but it seems to hard for me, plus I only have about 2 weeks to learn PhP, if I wanted to implement this... I don't think that is possible. The manual abounds with examples on how to a) connect to a database b) read / write data in

Re: [PHP] is there a way to track downloads

2002-06-23 Thread Henry
i have a opensource redirect script that can easily be adapted to track downloads - just need to replace a absolute url for a file name. check it out at http://user:[EMAIL PROTECTED]/lab cheers Henry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: