I'll try and give as much info as I can. I'm testing locally with a xampp, so can't give any actual links yet.
I have a directory structure of:
test/forums
test/game
In my game index file, at the very beginning of file, I have:
PHP Code:
$curdir = getcwd ();
chdir('../forum');
require_once('../forum/global.php');
require_once('../forum/includes/functions.php');
$user_name = $vbulletin->userinfo['username'];
chdir ($curdir);
The page includes links to each player game profiles. The links are coded as follows:
<a href="index.php?page=profile&pid=<?php echo ($stat['id']); ?>">
If change that to:
<a href="profile.php?pid=<?php echo ($stat['id']); ?>">
The link will work. Now that I posted that, I do see as well that the ? is not the issue. So maybe it has to do with the page= variable. Yet it works when I remove the vbulletin code?