Quote:
|
Originally Posted by Henry
hello
ive come across this awesome script on the net and its almost perfect except for one fault it only lets me have one username and pasword. is there any way some one could edit it so it would allow more the one username and pasword.
|
that script doesint use any kind of database.. editing it would not be the smartest thing.. writing a own login script would..
if you have mysql you can use my script:
this requires that you have a mysql database where you have a table with columns
name (text or varchar()) not null primary key,
pwd varchar(32) not null <-- 32 becourse of md5()
insert one manually via command promt or whatever and make a user management page or insert all manyally
insert into members set name="admin", pwd=md5("password");
then to all protected pages you insert this code:
hope i helped
Wille