View Full Version : load xml issue

11-13-2006, 08:52 AM
hi all,

i'm trying to parse a xml file using DOMDocument, but i'm getting the error as

Warning: DOMDocument::load(...jobs.xml) [function.DOMDocument-load]: failed to open stream: Permission denied in ...import.php on line 26

code i used

$doc = new DOMDocument();
$doc->load( 'jobs.xml' );

$jobs = $doc->getElementsByTagName( "jobtitle" );

am workin in windows platform

can anyone help me in tis..

sir pannels
11-13-2006, 04:45 PM

failed to open stream: Permission denied..

this means it cannot get the xml data from the file..

it suggests why, check the permission of jobs.xml aswell as check that the file exists and is in the right place.


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum