I am using the below * part of script *
} if (usercode==115604600&&passcode==115604600);}
window.location=password+".htm"}
else
{
alert("password/username wrong")}
where the 115604600 are encrypted for user name and password
this works fine if only one user....
How do I add a string that will allow the if function to check against a second user and password ?
full origional script can be seen at
http://www.dynamicdrive.com/dynamicindex9/password.htm
I want to use this but have it check more that one name and password
any one help?? or tell me a better script to check users and passwords before sending them to the page that relates to them?
Thanks the rave