Re: Downloading Files

From: Date: Tue, 25 Jun 2002 14:57:13 +0000
Subject: Re: Downloading Files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-103784@lists.php.net to get a copy of this message
Either of these options will work fine. There was MASSIVE disscussions about this a few weeks back -- check for threads started by myself in the archives. Justin French on 26/06/02 12:35 AM, Francis (news@radnip.com) wrote: > I want to protect files from being downloaded and only allow people to > download files which they have access too. I've done all the access control > etc... but whats the best way for the user to download the file... Can you > "paste" the file directly into the header? (get the file from the > filesystem, mime encode it and put it in the header?) or copying the file to > a web viewable temp dir to allow the user to download it? (dont really want > to do this). > > Thanks > >

« previous php.general (#103784) next »