How to display XML output in Browser?
Posted by
om 28 August, 2009
To display XML file on browser use this header.
View Code PHP
<?php header("Content-type: text/xml"); ?> |
Categories :
PHP-XML
Php Tutorials, Php Frameworks, Software, Web2.0, Design Patterns, Semantic Web, Freelance, Seo, Pear, Unix, Linux, Tutorials, Open Source, LAMP,Cloud Computing
To display XML file on browser use this header.
<?php header("Content-type: text/xml"); ?> |
thanks for share
and don’t forget to specified an xml content. lol