This is probably where the trouble is coming from... I use this code as part of a form to allow my users to login to the forum from other pages outside of the forum:
Code:
<?php
//Change chdir to fit where your forum is.
chdir("/home/virtual/site2/fst/var/www/html/forums");
require('/home/virtual/site2/fst/var/www/html/forums/global.php');
include('/home/virtual/site2/fst/var/www/html/forums/includes/functions_user.php');
?>
So how can I get this to work correctly?