jags2ooo
03-21-2007, 09:14 PM
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.
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.