my url is http://www.calgarytritons.com/~fluid/andrew/index.php , and here's my problem - i try to include a file called main.php using the following line:
<?php include("main.php"); ?>
i've aso tried:
<?php include("./main.php"); ?>
, along with a bunch of other variants. the reason this bugs me so much is because theres a later include that DOES work, and it's nearly the same syntax, simply part of a subroutine.
not only that, but i can't read main.php standalone. anyhow, here's the directory structure, in case anyone needs to view the files with a PHP viewer, or needs to take a look at the other files:
/andrew/index.php
/andrew/main.php
/andrew/m1.php
/andrew/home.inc
/andrew/scripts/main.css
the rest is moot. home.inc is the other file thats called, and ive tried changing main.php to main.inc and changing the include accordingly, but yet another dead end. it seems i've tried everything. please help.