views:

1022

answers:

3

Hello, I've make an application in php that uses DOMDocument() in php 5. The problem is that my server uses php4 and DOM object is not recognized. What can I do? Can I download any kind of software and put it in my server and use include? wich one?

Thanks a lot.

A: 

PHP 5

Have your server admin upgrade your server.

databyss
+1  A: 

You can use the DOM XML extension in PHP4: http://de.php.net/manual/en/book.domxml.php.

Please note that the API is not compatible with the PHP5 DOM extension.

Stefan Gehrig
A: 

I strongly encourage you to try to get your ISP to GOPHP5.

Zoredache
Or switch to an ISP who has already done so. PHP4 is no longer supported as of 8/8/2008.
Bill Karwin