My site is basicaly a header - navigation; content - included pages & a footer. The page to include is passed in the URL.
The code I write is simple and works OK with this method
I have tried to include forums, login pages etc. and none of them work.
I have to change the paths e.g. index.php ( my template ) -> including main.php ( forum main page ) -> including config.php
Normaly the path to config.php for the forum would be config.php but as I am including main.php into index.php the path becomes forum/config.php !!
That is the first problem that can be overcome by changing the paths in the code.
The next problem is the worst; Say a login page -> enter details -> submit -> allowed in or error. But for me this will not work - nothing happens even if I input the wrong details. But the code works OK as a stand alone script.
Anyone have an idea how I can get over this ?
Anthony
Works OK -
http://www.rubble.info/TESTS/main.php
The password should be password
Will not work -
http://www.rubble.info?inc=test