Reply to Re: DOM XML issue

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация