Re: implementing downloads with php?

From: Date: Fri, 03 Apr 2015 14:01:16 +0000
Subject: Re: implementing downloads with php?
References: 1 2 3 4 5 6 7 8 9  Groups: php.general 
Request: Send a blank email to php-general+get-324767@lists.php.net to get a copy of this message
On Thu, Apr 02, 2015 at 10:20:46PM -0700, Jeffry Killen wrote: > > On Apr 2, 2015, at 8:48 PM, Sean Greenslade wrote: > > >Listing the directory > >is a separate problem, and you'll surely find plenty of tutorials by > >searching online. > > This I already have in hand. I am working currently on a CMS system > that uses a file browser application I wrote so I can designate a dir to > send > and upload file to, to select a path for a new file or rename a file, a > number > of related uses. It will list a single directory or all the directories at > and below > it. Now I can add a method to download files. I also have a web base file > editor > for plain text files that has open, save, and save as. So the file browser > works > vaguely similar to an open, save and save as file navigator in the Mac and > other > systems, but is web site based and applies to the web site content and file > structure. > > > > >>I am thinking of any file type: .pdf, .rtf, .swf, .doc, mpg, mpeg, mp3, > >>binary, as well as plain text, whatever > > > >Also easy. Set the Content-Type header to the file's corresponding MIME > >type. > > > >--Sean > > Thank you for your time, attention and patience; > JK Not a problem. --Sean

« previous php.general (#324767) next »