Posted by Jason Barnett on 06/28/05 16:26
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
[Back to original message]
|