My demo site is
www.gungeuk.com/newdesign and the forums are at
www.gungeuk.com/forum
On my site, I have /includes/header.php and /includes/sidebar.php.
On the sidebar is where I want to put the login box, so in my header, I put the code:
PHP Code:
<?php
$curdir = getcwd ();
chdir('/home/gungeuk1/public_html/forum/');
require_once('/home/gungeuk1/public_html/forum/global.php');
chdir ($curdir);
?>
and in the sidebar, I have:
PHP Code:
<?php
require_once('/home/gungeuk1/public_html/forum/login_inc.php');
?>
where the login box is to go.
However, when I login, it will log me in but still shows the login box on the sidebar.
In my ACP cookie path settings, its saved to /
My path can be found at
www.gungeuk.com/forum/path.php
Please let me know how I can get it to show me as logged in.
Thanks
Leigh