Hello there,

I have developed some php scripts to handle XML using the SimpleXML engine
that comes with PHP5. When I come to upload them to our space, the scripts
do not work. It is failing on the SimpleXML section for some reason and I
can not work out why.

I am using the same version on my development as is on our web server
(except I am running Windows and they are running Linux) and the scripts
work perfectly on my machine.

The xml that needs parsing is located it is dynamically generated and
another script builds it from the php://stream

[url]www.mystreaming.net/_handler/test.xml[/url]

As I say the scripts work perfectly fine on my development machine. Here is
a small snippet of one

$xml = simplexml_load_string($xmlstring);
$userid = $xml->userid;
echo $userid;
//On my machine this spits out anthoni, but on the webserver it
//doesnt spit out anything at all

Any clues as to what is going on?

Regards
Anthoni


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system ([url]http://www.grisoft.com[/url]).
Version: 6.0.745 / Virus Database: 497 - Release Date: 27/08/2004