Forcing Download - IE Issue

From: Date: Wed, 27 Oct 2010 20:18:05 +0000
Subject: Forcing Download - IE Issue
Groups: php.general 
Request: Send a blank email to php-general+get-309119@lists.php.net to get a copy of this message
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

« previous php.general (#309119) next »