> -Original Message-
> From: Griffiths, Daniel [mailto:[EMAIL PROTECTED]]
> Sent: 26 September 2002 16:09
>
> as long as that same session code is present at the top of
> all the included files that are put in later. basicaly you
> need to put the session code in every page (even if yo
in the same way that you can read included .js
and .css files.
-Original Message-
From: NIPP, SCOTT V (SBCSI) [mailto:[EMAIL PROTECTED]]
Sent: 26 September 2002 15:57
To: Griffiths, Daniel; Steve Bradwell; Rodrigo; PHP
Subject: RE: [PHP-DB] Session understanding
Can't yo
ginal Message-
From: Griffiths, Daniel [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 26, 2002 9:55 AM
To: Steve Bradwell; Rodrigo; PHP
Subject: RE: [PHP-DB] Session understanding
make sure that the test code is in every page you wish to protect, even the
included ones, if its not there so
e Bradwell [mailto:[EMAIL PROTECTED]]
Sent: 26 September 2002 15:02
To: Rodrigo; PHP
Subject: RE: [PHP-DB] Session understanding
If you include the other page AFTER you do this check you'll be fine. So run
your if statement and then add an else...include "other.php";
HTH,
Stev
If you include the other page AFTER you do this check you'll be fine. So run
your if statement and then add an else...include "other.php";
HTH,
Steve.
-Original Message-
From: Rodrigo [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 26, 2002 9:38 AM
To: PHP
Subject: [
Hi people,
if i use this code:
logging in again or contact
the
mailto:[EMAIL PROTECTED]";>system administrator');
}
?>
in one page to check if the user is logged, and in this same page i include another
page, do i have to put this same test in this page that i