I tried using your same code (changing the path to the correct one on my server) and it gets errors trying to find the admin/config.php
It appears it's trying to still find it from the directory where I have the file calling the script from.
So I have this:
page that has your code: /path/through/server/test/test.html
pointing the require call to: /path/through/server/test/boards/gobal.php
but due to the global.php looking for admin/config.php I get an error of:
Quote:
Warning: Failed opening 'admin/config.php' for inclusion (include_path='') in boards/global.php on line 36
|
cause it seems that it is looking for test/admin/config.php which of course does not exist
Any thoughts on how to get around that problem? Or do I have to put my non-vb page inside the boards folder with the other vb pages to make it work?