473,503 Members | 1,136 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3576
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2444
by: Mr Geetar | last post by:
I'm running PHP 4.3.2 with Apache 2.0.46 on Windows XP Home. Intel P4 1.5GHz chip with plenty of memory. I'm trying to enable DOM XML functions in PHP and having a bit of trouble. Per the PHP...
3
2197
by: mr_burns | last post by:
Hi, I am using the following function to access a nodes value from an XML file. It works fine until it discovers a empty tag. I would like to have the option of leaving some tags empty for my...
0
2010
by: bissatch | last post by:
Hi, I have installed Apache2. I have installed PHP4.3.0. All is working fine. I have now went and tried to install DOMXML into PHP by simply uncommenting the extension = php_domxml.dll (or...
3
4005
by: bissatch | last post by:
Hi, I have recently installed PHP4 with Apache2. Currently I am trying to install the DOMXML extension. According to what I have read, if I uncomment the extension=php_domxml.dll line in php.ini...
2
8405
by: Ghislain Benrais | last post by:
Hi everybody, I have xml documents with external entities for my accents that I want to output properly with php function domxml_open_file. I can't get my accents on a linux-apache server (I get...
2
18561
by: Michael Strorm | last post by:
Hi, I'm using PHP 4.3.9 with Apache 2.0, and keep getting the error " PHP Fatal error: Call to undefined function: domxml_open_file() in /var/www/html/php/domtest.php on line 8" (from the...
5
3968
by: bissatch | last post by:
Hi, I have just managed to install DOMXML on my apache/PHP setup. I am running PHP 4.3.0 and Apache2. $xmldoc = domxml_open_file("inc/menu.xml", DOMXML_LOAD_DONT_KEEP_BLANKS); When I try...
5
3904
by: Paul | last post by:
I need to get, parse and display RSS feeds while having the ini setting, allow_url_fopen = Off. I used to use (in version 4.1) domxml_open_mem() but it's not longer available in this verison for...
1
2091
by: Paul | last post by:
alllow_url_fopen if set to off. For some reason I can not access domxml_open_file(). And I need to read an xml feed. I can access the feed using cURL: $feed =...
0
7203
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7282
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7339
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6995
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7463
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5581
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5017
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4678
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1515
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.