Re: File Downloads
| From: | tedd | Date: | Fri, 28 May 2010 21:25:27 +0000 |
| Subject: | Re: File Downloads | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-305622@lists.php.net to get a copy of this message | ||
At 3:39 PM -0500 5/28/10, Karl DeSaulniers wrote:
Hello, How can I go about restricting the number of downloads of a file on my server? For Eg: if I want a music track to only be able to be downloaded by 150 people and thats it.. ever, how can I go about doing this? Much obliged, Karl DeSaulniersKarl: Just have the download pass through a script that counts, such as found here: http://sperling.com/freeware.php When someone click the link, it activates a script that provides the download and saves a count. It would be trivial to stop the download at a specific number. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com