Re: Re: About DOM function in PHP

From: Date: Sun, 08 Jul 2007 13:57:15 +0000
Subject: Re: Re: About DOM function in PHP
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-258471@lists.php.net to get a copy of this message
On 7/8/07, M. Sokolewicz <tularis@php.net> wrote: You don't have the DOM extension installed (req. PHP5 in case you're not
There is no DOM extension it is part of the PHP5 core; this from the DOM documantation <http://www.php.net/manual/en/ref.dom.php> in the online handbook: *Installation There is no installation needed to use these functions; they are part of the PHP core.* This leads me to beleive OP is using PHP4. Kelvin, create a phpinfo() script to determine if youre running PHP4 or PHP5. -nathan On 7/8/07, M. Sokolewicz <tularis@php.net> wrote:
Kelvin Park wrote: I'm getting the following fatal error message: *Fatal error*: Cannot instantiate non-existent class: domdocument in * /home/hosting/infotechnow_com/htdocs/admin/inventory/catalog.php* on line *3 * when running this code: // Initialize new object for DOMDocument $doc = new DOMDocument(); What's the problem? ** You don't have the DOM extension installed (req. PHP5 in case you're not running that either)... seems pretty obvious to me :) www.php.net/dom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#258471) next »