note 51689 added to function.header
| From: | BillKuker at osu1 dot php dot net | Date: | Thu, 07 Apr 2005 16:30:10 +0000 |
| Subject: | note 51689 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-87665@lists.php.net to get a copy of this message | ||
I am serving an XSL file generated by php for client side xslt processing. Where all of my static
*.xsl files worked fine my dynamicXSL.php file would not work with IE, which would say:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh
button, or try again later.
The download of the specified resource has failed.
(I include the whole message in hopes that the next guy googling for it has an easier time).
header("Content-type: text/xml");
header("Pragma: public");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
made it work.
----
Manual Page -- http://www.php.net/manual/en/function.header.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+51689
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+51689&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+51689&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+51689&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+51689&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+51689&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+51689&report=yes
Search -- http://master.php.net/manage/user-notes.php