Login script help

From: Date: Thu, 21 Dec 2006 21:36:11 +0000
Subject: Login script help
Groups: php.db 
Request: Send a blank email to php-db+get-42846@lists.php.net to get a copy of this message
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 before they get to index.html. Index.html starts off with: <?php session_start(); include("database.php"); include("login.php"); ?> I'm using php5. Thanks Haig

« previous php.db (#42846) next »