Forum Moderators: coopster

Message Too Old, No Replies

SimpleXML support for PHP4

         

username

10:15 pm on Apr 24, 2008 (gmt 0)

10+ Year Member Top Contributors Of The Month



Hi all, as I understand it PHP4 does not support SimpleXML, only simplexml44, which is a cut down version of SimpleXML. Basically I am looking for the best strategy to handle the appending of child nodes to an XML file using PHP and and accessing node data. Is there a way around not using the simplexml44 plugin, and what is the best option?

coopster

10:46 pm on Apr 24, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



PHP5 is the best option. Many new enhancements and tools were introduced to support the Document Object Model and Extensible Markup Language.

Outside of that, you can have a look at PHP's XML Manipulation [php.net] page to determine your options.