Re: [PHP] RE: [PHP-WIN] php > XML output in IE: no display From: Mark Charette (charette <email protected>)
Date: 07/09/01

IE does some "intelligent guessing" based on filename extension that will
override headers. If you send enough headers in the right sequence you can
get it to work right - with a weird name if you want to save it and
sometimes a double query on whether or not you want to save it. Tricking it
via PATH_INFO URLs works without any weird problems.

----- Original Message -----
From: "Michael Rudel" <mru <email protected>>
To: "'Patrick Sibenaler'" <patrick <email protected>>;
<php-general <email protected>>; <php-windows <email protected>>
Sent: Monday, July 09, 2001 10:36 AM
Subject: [PHP] RE: [PHP-WIN] php > XML output in IE: no display

> Hi Patrick,
>
> your first output should be:
>
> header( "Content-type: text/xml" );
>
> echo '<?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?>\n';
>
> It works for me.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>