Quote:
Originally Posted by JAB Creations
Make sure you are defining your server path in absolute...
instead of....
../../file.php
use...
/home/shared_server_username/www/vbfolder/thefileyouwant.php
Full example....
<?php chdir("/home/jabsite/www/community"); require_once('global.php'); ?>
|
Yeah, that's what I'm doing. This, to be precise:
chdir("/home/virtual/site1/fst/var/www/html/forums");
require_once("./global.php");
Login works on all pages using this, but the users aren't showing up on Who's Online (nor in the sessions table in the db), unless they actually go into the forums.