Re: DOM XML issue

From: Date: Tue, 28 Jun 2005 13:26:39 +0000
Subject: Re: DOM XML issue
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-217756@lists.php.net to get a copy of this message
Andrew Kachalo wrote:
Hi! ...
Fatal error: Call to undefined function domxml_open_file() in /Users/Andrew/Sites/portfolio/index.php on line 61
This is because PHP5 now has an object-oriented approach. You use DOMDocument's and/or SimpleXML to read your XML files. Also in the newest versions of PHP there is a new extension called XMLWriter that might better suit your needs.
How can I fix this problem?
In short, you can't do anything except modify code to the new way of doing things. XML support is the lesser-known-yet-dramatic change in the migration from PHP 4 to PHP 5. http://php.net/manual/en/ref.dom.php
Thank you! == Best Regards Andrew Kachalo http://www.geocities.com/andrew_kachalo/
-- NEW? | http://www.catb.org/~esr/faqs/smart-questions.html STFA | http://marc.theaimsgroup.com/?l=php-general&w=2 STFM | http://php.net/manual/en/index.php STFW | http://www.google.com/search?q=php

« previous php.general (#217756) next »