Hello, fantastic script. But I'm having a few problems. First off, I'd just like to note that my forums is located in a directory called "forums". The script will show me logged in for about 3 minutes or less, and then will show me as logged off; but still logged in on the actual forums. My site is coded like so:
Code:
<?php include("header.php"); ?>CONTENT GOES HERE<?php include("footer.php"); ?>
The only difference is the main page where I also have another include placed in for CuteNews. Nothing special.
Naturally, I put the (with my directory settings, obviously)
PHP Code:
<?php
$curdir = getcwd ();
chdir('/path/to/your/forums');
require_once('/path/to/your/forums/global.php');
chdir ($curdir);
?>
in my header.php file seeing as that is the beginning of all my html. With this said, I've went through all of the trouble shooting advice in the txt file with no improvement as of yet.
Please help, thanks.