I bought a MySpace friend train script, and I seem to be getting a problem.
[a href=\"http://www.mshangout.com/train/index.php\" target=\"_blank\"]http://www.mshangout.com/train/index.php[/a]
This is the error:
Warning: main(pages/.php): failed to open stream: No such file or directory in /home2/meamruss/public_html/train/pages.php on line 11This is line 11:
include "pages/" . $page . ".php";
Throughout the whole script files, there is no such variable $page. However, the index page has only the following content:
<meta http-equiv="refresh" content="0;url=pages.php?page=home">
I'm guessing that "home" is $page in this case. The header (Home Page | Join the Train | What is the Train?) links have this format:
<a class="link_whitetored" href="pages.php?page=faq">FAQ</a>
Obviously, it assumes that it should load what's after the = for $page. But why isn't it reading what's after this = sign? It's just giving me pages/.php.
Sorry if that was confusing.
Thanks in advance.