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! Quote Link to comment Share on other sites More sharing options...
taith Posted January 5, 2007 Share Posted January 5, 2007 ../myxmlfile.xml Quote Link to comment 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! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.