RE: [PHP] file storage/downloader...

2001-01-24 Thread johnny p.
> -Original Message- > From: Ignacio Vazquez-Abrams [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 22, 2001 11:01 AM > To: johnny p. > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] file storage/downloader... > > > On Sun, 21 Jan 2001, johnny p. wrote: > &

RE: [PHP] file storage/downloader...

2001-01-22 Thread Parker, John (Snorkel)
g too much. Just a thought. John Parker > -Original Message- > From: Ignacio Vazquez-Abrams [SMTP:[EMAIL PROTECTED]] > Sent: Monday, January 22, 2001 11:01 AM > To: johnny p. > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] file storage/downloader... > > On Sun,

Re: [PHP] file storage/downloader...

2001-01-22 Thread Ignacio Vazquez-Abrams
On Sun, 21 Jan 2001, johnny p. wrote: > Ok, here's the prolem: I'm trying to create a feature on my site similar to > xdrive.com. Basically I want the user to be able to upload a file and have > it stored on my server. I also want to have the ability for the user to > download the file at a la

Re: [PHP] file storage/downloader...

2001-01-21 Thread Toby Butzon
Do just what you said and create a directory outside of your Apache doc root. Just make sure the user PHP is running as has permissions to access the directory ;) Then use PHP's fpassthru, etc., to send the content of the file back. You will need to send a mime-type header; take a look around - t

RE: [PHP] file storage/downloader...

2001-01-21 Thread Jason Murray
> If I store the file in a non-apache directory, how does the > user download the file? Use a file, "download.php" that will make sure the user is authenticated, then fetch the contents of the file, and send the file to the browser. Jason -- PHP General Mailing List (http://www.php.net/) To