Foruma Alışıyor Mesaj Sayısı : 137 Rep Gücü : 55982 Teşekkür Puanı : 5 Kayıt tarihi : 13/01/09 | Konu: sitene üyelik sistemi kodu | | | - Kod:
-
<script> //Encrypted Password script- By Rob Heslop //script featured on Dynamic Drive //Visit <a href=\'http://www.dynamicdrive.com\' target=\'_blank\' rel=\'nofollow\'>http://www.dynamicdrive.com</a> function submitentry(){ password = document.password1.password2.v alue.toLowerCase() username = document.password1.username2.v alue.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); } //CHANGE THE NUMBERS BELOW TO REFLECT YOUR USERNAME/PASSWORD if(usercode==134603040&&passco de==126906300) //CHANGE THE NUMBERS ABOVE TO REFLECT YOUR USERNAME/PASSWORD { window.location=password+".htm "} else{ alert("password/username combination wrong")} } </script> <form name="password1"> Enter username: <input type="text" name="username2" size="15">
Enter password: <input type="password" name="password2" size="15"> <input type="button" value="Submit" onClick="submitentry()"> </form> |
|