Hi all,
Ok, I am trying to do a simply include() for a file, that is going to replace SSI. The page I am trying to include it in is test.php3 which is located in my main directory. The file I am trying to include is 1.viewn which is located in a different directory:
main directory/news/data/archive/1.viewn
I moved the 1.viewn file to the main directory and this worked:
<?
include ('1.viewn');
?>
But the CGI program won't function with the file out of the archive directory. I then tried:
<?
include ('./1.viewn');
?>
Figuring it will find the file, but it can't and I get the error:
Warning: Failed opening './1.viewn' for inclusion in /virtualhosts/boatingandbeyond.com/www/test.php3 on line 143
Any idies are much appreciated,
Thanks.
Mark