RE: Downloding files once
| From: | Boaz Yahav | Date: | Wed, 06 Aug 2003 18:56:21 +0000 |
| Subject: | RE: Downloding files once | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-158526@lists.php.net to get a copy of this message | ||
What about using mod_auth_mysql to add/remove usernames and passwords
from
the download server in real time?
-----Original Message-----
From: Manuel Lemos [mailto:mlemos@acm.org]
Sent: Wednesday, August 06, 2003 7:52 PM
To: Boaz Yahav
Cc: php-general@lists.php.net; Igal Rubinstein; Matt Wade
Subject: Re: Downloding files once
Hello,
On 08/06/2003 03:48 PM, Boaz Yahav wrote:
> This may work but i can't help thinking that this is the wrong way to
> go. Downloading 1GB or 2GB files via fpassthru doesn't feel right...
Why not? As long as it works without blowing your server memory that is
fine.
The only problem you may have is when the users resort to download
managers, as this way they won't be able to stop and resume later. If
you play with the HTTP headers and fseek, that can be solved too.
--
Regards,
Manuel Lemos
Free ready to use OOP components written in PHP
http://www.phpclasses.org/