[PHP] Re: problems with include()

2003-01-30 Thread Al
Looks like you are only backing up 2 levels when you need 3. Why not try something like: $root= the absolute path to your root folder; Then simply: include ($root . mainfile.php); etc. Daniel Negron/Kbe wrote: I have this code : ?php if(!isset($mainfile)) { include(mainfile.php); }

[PHP] Re: problems with include()

2001-09-13 Thread LRW
:::hangs head in utter shame::: Because I'm a complete idiot and saved the bleeding file to a local directory instead of under the web server's. I shall now open my shirt for the flogging. =/ Liam Lrw wrote in message [EMAIL PROTECTED]... I got a plain test to work...made a test.php that