Reading an XML outputting PHP file as XML

From: Date: Fri, 02 Jun 2006 13:10:28 +0000
Subject: Reading an XML outputting PHP file as XML
Groups: php.general 
Request: Send a blank email to php-general+get-237255@lists.php.net to get a copy of this message
Hi. I have a PHP file that outputs as XML from a database. i have used the header() function to output the correct header but when I use the simplexml function it is trying to parse the php file itself and not the output of the php file. I can't get my head round this. Can anyone help me?

« previous php.general (#237255) next »