Realization of Simple online shopping system

xiaoxiao2021-03-06  44

Page file: login.asp

>

Function checkfk () {if (Document.fkinfo.username.value) {document.fkinfo.username.focus (); Alert ("Please fill in user name!"); return false;} if (checkspace. Fkinfo.userpassword.value)) {document.fkinfo.userpassword.focus (); Alert ("Please fill in the password!"); return false;}} // -> Check the user login page: CheckUserLogin.asp <% DIM UserName, UserPassword, comurlusername = replace (Trim (Request ("Username" )), "'" "") Userpassword = md5 (Replace ("" "" "" ""))), "'" ")) if UserName =" "" theResponse.write "