note 76670 modified in ref.xmlwriter by danbrown

From: Date: Thu, 19 Feb 2009 13:57:02 +0000
Subject: note 76670 modified in ref.xmlwriter by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-150856@lists.php.net to get a copy of this message
If you want your XML-output to be seen as XML by the browser, you need to modify your header. The XmlWriter does not do this for you! Therefore, the first line of your script should be: <?php header("Content-type: text/xml"); ?> --was-- If you want your XML-output to be seen as XML by the browser, you need to modify your header. The XmlWriter does not do this for you! Therefore, the first line of your script should be: header("Content-type: text/xml"); http://php.net/manual/en/ref.xmlwriter.php

« previous php.notes (#150856) next »