...

View Full Version : load xml issue



therock
11-13-2006, 09: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..
plzzzzzzzzzz

sir pannels
11-13-2006, 05:45 PM
hi,

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.

cheers
p



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum