Re: Re: DOMXML...

From: Date: Wed, 31 Jul 2002 12:35:39 +0000
Subject: Re: Re: DOMXML...
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-110510@lists.php.net to get a copy of this message
Check that the file employees.xml exists, and try providing it with an absolute reference rather than relative (eg: "c:\\xmlfiles\\employees.xml"). Also check that the xml file renders ok in Internet Explorer. > the line that gives the error... > > Warning: failed to load external entity "employees.xml" in > C:\Inetpub\wwweloanshop\test\xml.php on line 36 > What employees? > > is... > > $doc = xmldocfile("employees.xml") or die("What employees?"); > > "Lallous" <phplist@lgwm.org> wrote in message > news:20020731112653.44779.qmail@pb1.pair.com... >> hmm! >> >> 1)Can you show the code @ line 36 if possible >> 2)try to escape the "\" (replace every \ with \\) >> >> >> "Brian McGarvie" <brian.mcgarvie@anypurposeloans.co.uk> wrote in >> message news:20020731104203.15987.qmail@pb1.pair.com... >> > I have a problem with DOMXML... >> > >> > I installed it and it is showing up in a phpinfo() script... >> > >> > However when I try a simple example it gives me an error such as: >> > >> > Warning: failed to load external entity "employees.xml" in >> > C:\Inetpub\wwweloanshop\test\xml.php on line 36 >> > >> > Any hints? >> > >> > [ Brian M McGarvie | www.mcgarvie.net - www.the-local-guide.com - >> www.anypurposeloans.com ] >> > >> > >> >> > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Dan Hardiker [dhardiker@staff.firstcreative.net] ADAM Software & Systems Engineer First Creative Ltd

« previous php.general (#110510) next »