Re: Re: forcing file downloads

From: Date: Fri, 14 Jun 2002 05:29:22 +0000
Subject: Re: Re: forcing file downloads
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-102150@lists.php.net to get a copy of this message
On Friday 14 June 2002 10:47, Timothy J. Luoma wrote: > On Wed, 12 Jun 2002, Justin French wrote: > > I know this has been discussed many times, but I've been hunting through > > the archives with very little resolution on the issue. > > The user can define certain things given the way they want mime types to > be handled. > > PDF used to be a good solution until several browsers decided that they > would display PDF. > > So if I want to make sure someone downloads a file, I make it a ZIP, pure > and simple. Some browsers are able to open ZIP files automatically. The solution is to use an 'undefined' mime-type such as 'application/octet-stream' which, in theory, should force all downloads to present a 'save as' dialog. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* The best way to accelerate a Macintoy is at 9.8 meters per second per second. */

« previous php.general (#102150) next »