Re: RE: [PHP-WIN] php > XML output in IE: no display

From: Date: Mon, 09 Jul 2001 15:50:26 +0000
Subject: Re: RE: [PHP-WIN] php > XML output in IE: no display
References: 1  Groups: php.general php.windows 
Request: Send a blank email to php-general+get-56954@lists.php.net to get a copy of this message
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@suchtreffer.de> To: "'Patrick Sibenaler'" <patrick@arch.ethz.ch>; <php-general@lists.php.net>; <php-windows@lists.php.net> 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.

« previous php.general (#56954) next »