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.


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

Reply via email to