note 20472 added to function.header

From: Date: Thu, 04 Apr 2002 15:57:25 +0000
Subject: note 20472 added to function.header
Groups: php.notes 
Request: Send a blank email to php-notes+get-28613@lists.php.net to get a copy of this message
I managed to get IE correctly downloading files from a PHP script, and the only extra header I have to send is Cache-Control. This is all I send, where $mime is the appropriate MIME type for the file. header("Cache-control: private"); header("Content-Type: " . $mime); Hope this helps. -- http://www.php.net/manual/en/function.header.php http://master.php.net/manage/user-notes.php?action=edit+20472 http://master.php.net/manage/user-notes.php?action=delete+20472 http://master.php.net/manage/user-notes.php?action=reject+20472

« previous php.notes (#28613) next »