On May 28, 2010, at 4:25 PM, tedd wrote:
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 DeSaulniers
Karl:
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey thanks Tedd.
Quick question. Were you referring me to this link to download one of
their demos or just to show that they count their downloads?
EG: Binary-Tree v1.1 Downloads: 2806
THX
Karl DeSaulniers
Design Drumm
http://designdrumm.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php