[wplug] Apache question
Russ Schneider
russ at sugapablo.com
Tue Sep 9 10:36:56 EDT 2003
Joe Topjian wrote:
> If you used perl or php, then it might be more easier.
> Example, when a user clicks on a link to download, have a script
> increment a counter file (you could use a database, but that might be
> too much overhead for something like this), serve the file to the user,
> wait until the file is done downloading, and decrement the counter file
> by one. When someone connects, check the counter file.. if the value is
> 3, spit an error out saying try again later.
If there a way to determine when "the file is done downloading" whereas
PHP could then issue a command?
> Also, you could always use FTP..
That is my backup plan. :)
--
Russ Schneider (a.k.a. Sugapablo)
http://www.sugapablo.com
More information about the wplug
mailing list