Login script help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux