Click to See Complete Forum and Search --> : Create a Secure Login for my Website?


andrewjones1987
12-21-2006, 06:14 AM
I am in the process of creating a html website and I am interested in using secure logins. I have tried protected directories, but this is not what I want.

What I want is for a student to go to the homepage and a login box is presented asking for a username and password. Then depending on the username, it re-directs you to a certain webpage depending on year group. I have heard that this can be done thorugh a sql database that contains a table with username, passwords and year groups, but I DO NOT how to even start doing this, as I don't know sql, or php and I have only just started buiding websites with dreamweaver.

Can anyone help me to achieve this?

JayM
12-21-2006, 09:00 AM
My advice would be to learn PHP (http://www.php.net/manual/en/) and MySQL (http://dev.mysql.com/doc/refman/5.0/en/preface.html).

If you want to try and create one without learning the language (which is very difficult), here's a secure login script (http://www.devshed.com/c/a/PHP/Creating-a-Secure-PHP-Login-Script/)