![]() |
global.php include issues
I'm not a PHP PRO ---
I am currently using <?php $curdir = getcwd (); chdir('/home/xxxxxx/public_html/forum'); require_once('/home/xxxxxxx/public_html/forum/global.php'); ?> in order to allow ppl to login into vb from my main page (non vb) but now i can not use simple include url (www.site.com?page=Staff) <?php $page = $_GET['page']; if (!empty($page)) { $page .= '.php'; i else { include('news.html'); } ?> when i delete global.php from require it works fine >< does anyone have any ideas? Thanks. |
All times are GMT. The time now is 10:54 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|