Bluehost.com Web Hosting $6.95

RE: Downloding files once

This is a discussion on RE: Downloding files once within the PHP General forums, part of the PHP Programming Forums category; Hello, On 08/06/2003 03:56 PM, Boaz Yahav wrote: > What about using mod_auth_mysql to add/remove usernames ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-06-2003
Manuel Lemos
 
Posts: n/a
Default Re: Downloding files once

Hello,

On 08/06/2003 03:56 PM, Boaz Yahav wrote:
> What about using mod_auth_mysql to add/remove usernames and passwords
> from
> the download server in real time?


Never tried but it could work. The only problem is that for basic auth
you need to keep passwords in plain text in the database.

--

Regards,
Manuel Lemos

Free ready to use OOP components written in PHP
http://www.phpclasses.org/

Reply With Quote
  #2 (permalink)  
Old 08-06-2003
Boaz Yahav
 
Posts: n/a
Default RE: Downloding files once

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/



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 12:50 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0