Imran Aziz Posted January 5, 2007 Share Posted January 5, 2007 Greetings all, How can I access Parent Directory via script on Root Directory?I need to write an XML file in parent directory. I can write it on current directory. I'm using wordpress and in admin of wordpress I can write an XML file in site.com/blog/myxmlfile.xmlbut when I specify parent path, I get an error "can't write" [Word Press error]I want to write xml file in site.com/myxmlfile.xml location, not site.com/blog/myxmlfile.xmlThanks! Link to comment https://forums.phpfreaks.com/topic/32984-php-access/ Share on other sites More sharing options...
taith Posted January 5, 2007 Share Posted January 5, 2007 ../myxmlfile.xml Link to comment https://forums.phpfreaks.com/topic/32984-php-access/#findComment-153560 Share on other sites More sharing options...
Imran Aziz Posted January 5, 2007 Author Share Posted January 5, 2007 [quote author=taith link=topic=121135.msg497495#msg497495 date=1168015402]../myxmlfile.xml[/quote]u da man or what? :)Btw it was ..\myxmlfile.xmlI was using absolute path, C:\site\myxmlfile.xmlMoment I used relative path, it worked. Thanks again! Link to comment https://forums.phpfreaks.com/topic/32984-php-access/#findComment-153566 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.