tags:

views:

26

answers:

0

I have a PHP script that loads in an XML file. That said XML file exists in the same directory as the script - the path in the script for the XML file is relative to the php file.

Now when I put that PHP script+XML files in the root of my website it works. Yet when I put that PHP script+XML files in a sub-directory the XML file doesn't load! The script is running, but the XML doesn't get loaded in.

I'm running Apache if that helps?

/root - rssfeed.php - rss.xml Works!

/root/rss/ - rssfeed.php - rss.xml Doesn't work!