DOM-XML extension not working in PHP 5?
Jon Moffet
If you're porting your PHP4 scripts that uses DOM-XML for xml-parsing to PHP5, then you might have stumbled into this particular problem, PHP5 has no DOM-XML extension.
This is because PHP 5 has a new integrated DOM functions which replaces PHP4 dom-xml equivalent.
However you don't need to do a complete rewrite in order to make your DOM-XML PHP 4 scripts work with PHP 5. All you need to do is to include a fix from http://alexandre.alapetite.net website.
First, download domxml.phps, then include it in your php scripts
PHP:
-
require('domxml.phps');
-
-
// the rest of your script that uses dom-xml goes here...
After that your PHP4 script is able to work normally in PHP5 environment :)
Posted in Uncategorized |







