When the page opens, connect to server (this works fine). Look for session, if no session is found, look for phpbb session (two different session possibilities) Reading through the phpbb site, it say I must have the code that is in include './phpbb/login_global.php' Brad -----Original Message----- From: Tijnema ! [mailto:tijnema@xxxxxxxxx] Sent: Sunday, April 29, 2007 5:03 AM To: Brad Sumrall Cc: php-general@xxxxxxxxxxxxx; ceo@xxxxxxxxx Subject: Re: Help me put this into phpinesse! On 4/29/07, Brad Sumrall <Brads@xxxxxxxxx> wrote: > <?php > > ob_start(); > > session_start(); > > header("Cache-control: private"); > > require("includes/configure.php"); > > > $conn=mysql_connect(DB_SERVER,DB_SERVER_USERNAME,DB_SERVER_PASSWORD); > > mysql_select_db(DB_DATABASE) or die(mysql_error().": database > not available"); > > $show="no"; > > isset($_SESSION['userid']); What's the sense of above line? isset is a function, that returns true or false. > > if $SESSION=NULL > > include './phpbb/login_global.php' > > > > $show="yes"; > > ?> > > > > What am I missing? > > > > Brad There's no concrete question what you want here. So i guess that is missing. Tijnema > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php