PHP / Wordpress - Loading a remote XML file -


How can one obtain an object variable from a remote XML file, for example?

In PHP5 works fine with simplexml_load_file () , but I also need to work in PHP 4 as well. How can I do that? Or is there an underlying WordPress function that can load XML files? I tried to use it, but I get a strange object variable.

If you want to use smipleXML functions in PHP4, this class is included in it (I It's used and it works like a magic)


Comments