Re: Forcing Download - IE Issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 27, 2010 at 4:18 PM, Floyd Resler <fresler@xxxxxxxxxxxxx> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux