[PHP] xmldoc issue

2006-06-25 Thread weetat
Hi all , I have two server . In first server , which PHP version 4.3.2, the code below is ok : function validatexmlfile($xmlfilename) { $_logger = new Log4jLogger(); $_logger-logdebug(starting validate xml); $_logger-logdebug(starting validate xml

Re: [PHP] xmldoc issue

2006-06-25 Thread Chris
weetat wrote: Hi all , I have two server . In first server , which PHP version 4.3.2, the code below is ok : function validatexmlfile($xmlfilename) { $_logger = new Log4jLogger(); $_logger-logdebug(starting validate xml); $_logger-logdebug(starting validate

RE: [PHP] xmldoc issue

2006-06-25 Thread Yeo Wee Tat
. Linux Simplified -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Monday, June 26, 2006 10:52 AM To: weetat Cc: php-general@lists.php.net Subject: Re: [PHP] xmldoc issue weetat wrote: Hi all , I have two server . In first server , which PHP version 4.3.2, the code

Re: [PHP] xmldoc issue

2006-06-25 Thread Chris
Yeo Wee Tat wrote: Thanks you are right. Btw, I have another question: How to modified value in xml file using php ? http://www.php.net/manual/en/ref.xmlwriter.php -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] xmldoc

2006-06-23 Thread weetat
Hi all, I have simple code below : It run ok in one of my test server (Red Hat Enterprise) , PHP 4.3.2. However in the one of production server which have same OS and PHP version , the code did not display done parsing xml in log file. It just display starting parsing xml only. I

Re: [PHP] xmldoc

2006-06-23 Thread Brad Bonkoski
weetat wrote: Hi all, I have simple code below : It run ok in one of my test server (Red Hat Enterprise) , PHP 4.3.2. However in the one of production server which have same OS and PHP version , the code did not display done parsing xml in log file. It just display starting

Re: [PHP] xmldoc

2006-06-23 Thread Mariano Guadagnini
Brad Bonkoski wrote: weetat wrote: Hi all, I have simple code below : It run ok in one of my test server (Red Hat Enterprise) , PHP 4.3.2. However in the one of production server which have same OS and PHP version , the code did not display done parsing xml in log file. It just

Re: [PHP] xmldoc

2006-06-23 Thread Michael Rasmussen
On Fri, 23 Jun 2006 16:12:56 -0300, Mariano Guadagnini wrote: xmldoc, which is found in the extension DOM XML is no longer part of PHP as of PHP = 5.0. It has been replaced by DOM. See http://dk2.php.net/manual/en/ref.dom.php http://dk2.php.net/manual/en/ref.domxml.php Maybe when parsing the

Re: [PHP] xmldoc

2006-06-23 Thread Ahmed Saad
On 23/06/06, weetat [EMAIL PROTECTED] wrote: Anybody have any ideas what happening here ? Try this as the first line ?php ini_set('display_errors', 1); ? You can remove it later, of course, but it would enable displaying php errors as it's commonly disabled in production systems, AFAIK..

[PHP] xmldoc undefined with domxml apparently enabled

2002-01-05 Thread Luca
Hi, I can't get DOMXML to work. The line $doc = xmldoc($xml); // (line 26) (where $xml is a string containing a valid xml document) raises a fatal error: Fatal error: Call to undefined function: xmldoc() in d:\...\class.xmltemplate.php on line 26 I'm running PHP 4.1.1 as an Apache module