well.. you can copy the
section as many times as you like for each new member... change the pass and username for each one... that makes sense for less than 20 pages... isn't annoying for less than 5...
You'd have to set up a MySQL database to not do it hard coded like this... since a text file wouldn't be very secure either...
tho... for a price.. I could prolly think up a way to do it without a database and still be secure
if ($_POST[username] == " the wanted username ") { if ($_POST[password] == " the wanted password ") { $_SESSION[logged] = "yes"; } }
section as many times as you like for each new member... change the pass and username for each one... that makes sense for less than 20 pages... isn't annoying for less than 5...
You'd have to set up a MySQL database to not do it hard coded like this... since a text file wouldn't be very secure either...
tho... for a price.. I could prolly think up a way to do it without a database and still be secure