I have a website and when I put one page in the root it works fine but within a folder I get an error? <p>I have uploaded the same file on to the website. The php code in it looks like this <code> <pre>$f = fopen("http://thefreetechhelp.com/testsrc/top.txt", "r"); while(!feof($f)) { echo fgets($f); } fclose($f); ?&gt; &lt;/code&gt; </code></pre> <p>And there is two of these in the document. Below are the links, notice how in the second one you get the error</p> <p><a href="http://thefreetechhelp.com/index.html" rel="nofollow">http://thefreetechhelp.com/index.html</a></p> <p><a href="http://thefreetechhelp.com/articles/index.html" rel="nofollow">http://thefreetechhelp.com/articles/index.html</a></p> <p>the server is Debian GNU/Linux if that helps</p>