Re: [PHP] $_SESSIONS and printing off..

2003-02-18 Thread Ernest E Vogelsinger
At 13:33 18.02.2003, Frank Keessen said: [snip] >This is working fine. But i've set $_SESSION['level'] to value 2 (that's >done in the php file that calls this one). Now i want the above code to >check for the level and if is not equal to two than go to the e

Re: [PHP] $_SESSIONS and printing off..

2003-02-18 Thread Frank Keessen
login.htm) statement.. better explained??? ;> Thanks, Frank - Original Message - From: "Rich Gray" <[EMAIL PROTECTED]> To: "Frank Keessen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, February 18, 2003 1:25 PM Subject: RE: [PHP] $_SESSION

RE: [PHP] $_SESSIONS and printing off..

2003-02-18 Thread Rich Gray
nal Message- > From: Frank Keessen [mailto:[EMAIL PROTECTED]] > Sent: 18 February 2003 12:15 > To: Rich Gray; [EMAIL PROTECTED] > Subject: Re: [PHP] $_SESSIONS and printing off.. > > > Thanks, > > But then another question; > > if (isset($_SESSION['usern

Re: [PHP] $_SESSIONS and printing off..

2003-02-18 Thread Frank Keessen
mpty($_SESSION['username'])) { > echo 'Welcome '.$_SESSION['username'].', you are still logged in.'; > } > else { > header... etc etc > } > > Rich > > -Original Message- > > From: Frank Keessen [mailto:[EMAIL PROTECTED]] > >

RE: [PHP] $_SESSIONS and printing off..

2003-02-18 Thread Rich Gray
lse { header... etc etc } Rich > -Original Message- > From: Frank Keessen [mailto:[EMAIL PROTECTED]] > Sent: 18 February 2003 09:00 > To: [EMAIL PROTECTED] > Subject: [PHP] $_SESSIONS and printing off.. > > > Hi All, > > I'm a little bit confused an

[PHP] $_SESSIONS and printing off..

2003-02-18 Thread Frank Keessen
Hi All, I'm a little bit confused and it's maybe a newbie question but maybe you can help me out; A user is login in and after username password check it will redirects to this page Question is; is this the way to print of his username? $username = $_SESSION['username']; Echo $username Or h