Re: [PHP] include file and problems with headers

2005-05-27 Thread Brian V Bonini
On Sat, 2005-05-21 at 06:30, Ross wrote: > I have the folowing code which checks whether the user has logged in. > > if (!isset ($_SESSION['new_session'] ) ) > { > > $login_status = "Your are not signed in > "; > > } > if (isset ($_SESSION['new_session'] ) ) > { > $address = $_SESSION['new_sess

Re: [PHP] include file and problems with headers

2005-05-27 Thread Philip Hallstrom
Make sure you don't have any blankspace before or after the in your stats.php file. That's usually what does it. On Sat, 21 May 2005, Ross wrote: I have the folowing code which checks whether the user has logged in. if (!isset ($_SESSION['new_session'] ) ) { $login_status = "Your are not s

[PHP] include file and problems with headers

2005-05-26 Thread Ross
I have the folowing code which checks whether the user has logged in. if (!isset ($_SESSION['new_session'] ) ) { $login_status = "Your are not signed in "; } if (isset ($_SESSION['new_session'] ) ) { $address = $_SESSION['new_session']; $login_status = "Your are signed in as $address"; } ?> N