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, v

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 ver

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 valida

[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 xmlfile

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 You can remove it later, of course, but it would enable displaying php errors as it's commonly disabled in production systems, AFAIK.. /ahmed -- PHP General Mailing Lis

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 x

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 d

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 pars

[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 undefined with domxml apparently enabled

2002-01-07 Thread Luca
Luca <[EMAIL PROTECTED]> wrote: > Hi, > I can't get DOMXML to work. After posting a similar message to the php-windows mailing list (and getting no definitive answer), I filed a bug report (http://bugs.php.net/?id=14854) which was marked as bogus with a suggestion to "ask support questions at [E

[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