please help me

Discussion in 'JavaScript' started by bengoheen, Jul 13, 2006.

  1. #1
    I don't know what just happened to my post here, but I need help with decoding this javascript:

    function submitentry(){
    password = document.password1.password2.value.toLowerCase()
    username = document.password1.username2.value.toLowerCase()
    passcode = 1
    usercode = 1
    for(i = 0; i < password.length; i++) {
    passcode *= password.charCodeAt(i);
    }
    for(x = 0; x < username.length; x++) {
    usercode *= username.charCodeAt(x);
    }
    if(usercode==6684056755200&&passcode==2.782216789123329e+26)
    {
    window.location=password+".htm"}
    else{
    alert("password/username combination wrong")}
    }
    Code (markup):

     
    bengoheen, Jul 13, 2006 IP