I'm stumped. I use PHP includes for my menu and page footer. I call them
with this:
<?PHP include("/opt2/home3/shared/public_html/mysite/texts/hvmenu.txt"); ?>
and
<?PHP include("/opt2/home3/shared/public_html/mysite/texts/footer.txt"); ?>
Both of these work just fine when I use them on a PHP page in my root
directory. But when I create a new directory ('test') and use them on a
page I put in there, only the page footer one displays as it should.
I have error_reporting (E_ALL); on the page and I do not get any PHP
error listed. I do not have access to the server logs so I cannot see if
there's any entry there.
I know the page has a .php extension, the directory is set to parse
them, and the file path to the texts is correct. The hvmenu.txt file is
in /texts where it is supposed to be and renders just fine on the pages
that call it from my root directory. I've tried IE 6 and NS 7.1 and get
the same results.
Anyone have any ideas what's wrong or better yet, how I can cure this?
Thanks.
with this:
<?PHP include("/opt2/home3/shared/public_html/mysite/texts/hvmenu.txt"); ?>
and
<?PHP include("/opt2/home3/shared/public_html/mysite/texts/footer.txt"); ?>
Both of these work just fine when I use them on a PHP page in my root
directory. But when I create a new directory ('test') and use them on a
page I put in there, only the page footer one displays as it should.
I have error_reporting (E_ALL); on the page and I do not get any PHP
error listed. I do not have access to the server logs so I cannot see if
there's any entry there.
I know the page has a .php extension, the directory is set to parse
them, and the file path to the texts is correct. The hvmenu.txt file is
in /texts where it is supposed to be and renders just fine on the pages
that call it from my root directory. I've tried IE 6 and NS 7.1 and get
the same results.
Anyone have any ideas what's wrong or better yet, how I can cure this?
Thanks.
Comment