Quote:
Originally Posted by MarcoH64
You will have to query the session table for that i think, and then check if lastactivity is more then TIMENOW - cookietimeout
|
I have found a way to now establish whether a user is on or offline and then display a welcome or login box.
Is there any way to avoid having to chdir to use the global.php file ?
I'm thinking of the necessity to do this:
<?
chdir('/forum/path/');
require_once('global.php');
?>
If I chdir the rest of my scripts break