I have setup an Apache server on a Windows XP machine. I would like to have the files I create work on both the XAMPP setup on my Windows XP machine and also work on the live website.
I tried to have my index.php use this:
<?php set_include_path('/include'); ?>
and
<?php set_include_path('/include'.PATH_SEPERATOR.get_include_path()); ?>
All my include files are in the /include folder off the root for the site.
Then I tried to use <?php include "footer.php" ?> but the file is not found.
What am I doing wrong.








Bookmarks