Try this file:
PHP Code:
<?php
chdir("/full/unix/path/to/your/forum");
require("global.php");
if ($bbuserinfo['userid']!=0) {
$username=$bbuserinfo['username'];
echo "<font face=\"verdana\" size=\"2\"> <b>Welcome back, <font color=\"#FF3300\">$username</font> !</b> [<a href=\"http://www.certifyexpress.com/forum/member.php?s=&action=logout\">Logout</a>]</font>";
} else {
?>
<font face="verdana" size="2">You are not login. <b><a href="http://www.certifyexpress.com/forum/pageregister.php?action=login">Login</a></b> or <b><a href="http://www.certifyexpress.com/forum/register.php">Register</a></b></font>
<?php
}
?>
but change the first line to fit your site.
(to find out that path, upload this page as error.php:
PHP Code:
<?php
echo "HI I AM STUPID! :P
?>
and run it in your browser. You should get a Parse error, and it'll give you the full path to that file)