Page 1 of 1

simplexml_load_string equivalent in php4

Posted: Sun May 24, 2009 7:05 am
by kimberly
Hi, me again! :banghead:

After painfully getting my code to work locally in PHP5, I now have to re-write it for PHP4 on the server. :cry:
Thanks for the help so far and I have made progress.
I am now stuck trying to get the response string into an XML object.

In PHP5, I used simplexml_load_string.
Can anyone please tell me what to use in PHP4?

I saw a similar thread, but the answer didnt give me enough info.

thanks in advance!
Kimberly

Re: simplexml_load_string equivalent in php4

Posted: Sun May 24, 2009 7:48 am
by kimberly
I think this might be working:
$xml = domxml_open_mem($result)

but now I need to get the elements out of there....