note 73583 added to function.header

From: Date: Fri, 02 Mar 2007 11:18:03 +0000
Subject: note 73583 added to function.header
Groups: php.notes 
Request: Send a blank email to php-notes+get-124008@lists.php.net to get a copy of this message
I had a site where a flash swf was importing xml The xml was parsed as php by adding AddType application/x-httpd-php .xml to the .htaccess file of that directory. All was working well the php was outputting the xml that the swf needed, but then we moved the site to an https domain, and internet explorer 7 stopped being able to read the xml (firefox still worked correctly). by adding header('Pragma: private'); header('Cache-control: private, must-revalidate'); to the xml (parsed as php) page, the problem was cured, and ie7 was able to run the swf on the https domain. ---- Server IP: 69.147.83.197 Probable Submitter: 217.155.45.2 ---- Manual Page -- http://www.php.net/manual/en/function.header.php Edit -- https://master.php.net/note/edit/73583 Del: integrated -- https://master.php.net/note/delete/73583/integrated Del: useless -- https://master.php.net/note/delete/73583/useless Del: bad code -- https://master.php.net/note/delete/73583/bad+code Del: spam -- https://master.php.net/note/delete/73583/spam Del: non-english -- https://master.php.net/note/delete/73583/non-english Del: in docs -- https://master.php.net/note/delete/73583/in+docs Del: other reasons-- https://master.php.net/note/delete/73583 Reject -- https://master.php.net/note/reject/73583 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#124008) next »