php include not working in other directories
Posted: Tue Feb 19, 2008 12:55 pm
Hello, I successfully used the include function on http://mrconcreteblockhouse.com/index.php which has 2 include files:
and
The index works just fine.
However when I try to put the same code in http://mrconcreteblockhouse.com/f/found ... b.html.php it doesn't work.
I then tried placing copies of top.php and bottom.php in the same /f/ directory, but still doesn't show the top or bottom.
Any ideas?
Code: Select all
<?php include("top.php"); ?>Code: Select all
<?php include("bottom.php"); ?>However when I try to put the same code in http://mrconcreteblockhouse.com/f/found ... b.html.php it doesn't work.
I then tried placing copies of top.php and bottom.php in the same /f/ directory, but still doesn't show the top or bottom.
Any ideas?