BorderTerroir
06-14-2009, 06:50 AM
1) Script Title: Encrypted Password script
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex9/password.htm
3) Describe problem: I would like the option to open other website pages using this script and I thought a simple else if would do the job.
Why doesn't this work?
}
//CHANGE THE NUMBERS BELOW TO REFLECT YOUR USERNAME/PASSWORD
if(usercode==12211815000&&passcode==1825426317464164800)
else if(usercode==12211815000&&passcode==1912822615180439800)
//CHANGE THE NUMBERS ABOVE TO REFLECT YOUR USERNAME/PASSWORD
{window.location=password+".asp"}
else{
alert("You have entered the wrong information.")}
}
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex9/password.htm
3) Describe problem: I would like the option to open other website pages using this script and I thought a simple else if would do the job.
Why doesn't this work?
}
//CHANGE THE NUMBERS BELOW TO REFLECT YOUR USERNAME/PASSWORD
if(usercode==12211815000&&passcode==1825426317464164800)
else if(usercode==12211815000&&passcode==1912822615180439800)
//CHANGE THE NUMBERS ABOVE TO REFLECT YOUR USERNAME/PASSWORD
{window.location=password+".asp"}
else{
alert("You have entered the wrong information.")}
}