note 33192 deleted from function.header by sniper

From: Date: Sun, 07 Sep 2003 21:46:54 +0000
Subject: note 33192 deleted from function.header by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-55655@lists.php.net to get a copy of this message
Note Submitter: datune ---- It took me hours to find out why the following headers would not work in IE 6 but would work in browsers like Mozilla etc.. header("Cache-control: private"); header("Content-type: application/zip"); header("Content-disposition:attachment; filename=$filename"); The solution was to add another header header("Pragma: public"); before all others, than it worked. Oh, i don't know if it matters, but i was using sessions and the site was running on SSL as well. Hope this helps someone.

« previous php.notes (#55655) next »