PDA

View Full Version : Encrypted Password script



Silent Panther
10-15-2005, 03:05 PM
http://www.dynamicdrive.com/dynamicindex9/password.htm

Hi there....

I might need a little help with this script.

It works great, when I limit it to one user, and password
IE: if(usercode==169303163990400&&passcode==162222096168000)

But if I try to put in a second user in the next line,
IE:
if(usercode==169303163990400&&passcode==162222096168000)
if(usercode==179303164568200&&passcode==692451096145600)

The script simply stops the page, and will not let me enter in any site.....

Am I doing somethng wrong by putting more users in the same script?, did I forget a little word in between the to lines ? I thought that it could be the explenation, but I've also tried to use the following commands (didn't work) :

IE: ; - OR - ELSE, none of these 3 worked.

Can anyone help me out here, or give a definitive answer to my question?

SP - Denmark :eek:

Twey
10-15-2005, 03:22 PM
if((usercode==169303163990400&&passcode==162222096168000) || (usercode==179303164568200&&passcode==692451096145600))

Silent Panther
10-15-2005, 03:34 PM
Thanx........ I'd missed that option....... A man can only be as blind as his eyes are shut....... Mine were closed completely....

SP - Denmark :eek: