Re: Forcing Download - IE Issue

From: Date: Wed, 27 Oct 2010 20:27:25 +0000
Subject: Re: Forcing Download - IE Issue
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-309120@lists.php.net to get a copy of this message
On Wed, Oct 27, 2010 at 4:18 PM, Floyd Resler <fresler@adex-intl.com> wrote: > I'm trying to force a download using the following code: > header('Content-type: text/calendar'); > header('Content-Disposition: attachment; filename="calendar.ics"'); > echo $calendar; > > It works great in all browsers except IE.  In IE, the window opens and then closes without > ever display the download save window.  I'm not sure why it isn't working in IE. > > Thanks! > Floyd > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Have a look at the headers page in the manual http://php.net/manual/en/function.header.php There are a number of examples that talk about downloading for IE (it blows as doing that) -- Bastien Cat, the other other white meat

« previous php.general (#309120) next »