470,862 Members | 1,842 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,862 developers. It's quick & easy.

domxml_open_file

This function return always an error:

if (!$dom = domxml_open_file("test.xml")) {

Warning: failed to load external entity "test.xml" in c:\programmi\apache
group\apache\test\op1.php on line 9
Error while parsing the document

Please..HELP me



Jul 17 '05 #1
2 3494
In article <c8**********@le1.cs.unibo.it>, Thekave wrote:
This function return always an error:

if (!$dom = domxml_open_file("test.xml")) {

Warning: failed to load external entity "test.xml" in c:\programmi\apache
group\apache\test\op1.php on line 9
Error while parsing the document


I guess that the webserver is not allowed to read test.xml
--
Tim Van Wassenhove <http://home.mysth.be/~timvw/contact.php>
Jul 17 '05 #2
Try giving it a fully-qualified filename.

--
Tony Marston

http://www.tonymarston.net
"Thekave" <rc*****@cs.unibo.it> wrote in message
news:c8**********@le1.cs.unibo.it...
This function return always an error:

if (!$dom = domxml_open_file("test.xml")) {

Warning: failed to load external entity "test.xml" in c:\programmi\apache
group\apache\test\op1.php on line 9
Error while parsing the document

Please..HELP me


Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Mr Geetar | last post: by
3 posts views Thread by mr_burns | last post: by
reply views Thread by bissatch | last post: by
3 posts views Thread by bissatch | last post: by
2 posts views Thread by Ghislain Benrais | last post: by
2 posts views Thread by Michael Strorm | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.