with an
authentication key - almost anything you want.
After that, any page you want to protect you just put one line at the
top
to check for the presence of this value; redirect to login page if it's
not
there.
Regards - Miles
At 11:19 PM 12/21/2006, Haig Dedeyan wrote:
Thanks.
If I do it that way
Hi everyone,
My 1st attempt at creating a login script isn't going so good, so
hopefully someone can help me out.
The login script itself works fine but when I include it into a web
page, the login.php script shows up but the entire index.html page also
shows up.
I just want people to log in
Thanks.
If I do it that way, can't someone get into the index page if they link
directly to it without having to log in?
-Original Message-
From: Bastien Koert [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 21, 2006 7:36 PM
To: Haig Dedeyan; php-db@lists.php.net
Subject: RE: [PHP