Home  >  Article  >  Web Front-end  >  phpwind puts automatic registration method_javascript skills

phpwind puts automatic registration method_javascript skills

WBOY
WBOYOriginal
2016-05-16 19:23:391332browse

There are always people violently registering and posting advertisements in the forum. It’s so annoying
Open windregister.htm

Verification Code*
phpwind puts automatic registration method_javascript skills Please fill in the numbers or English letters in the picture In the left box,



and add them below The following code:





Domain name of this site*:



Just enter http://bbs.ourfuwa.comThis content is only to prevent junk software It is used for malicious registration. Sorry for the inconvenience caused to you!



Then modify the code at the end of the file


function regcheck (formct){
if (formct.regname.value=='' || formct.regpwd.value=='' || formct.regpwdrepeat.value=='' || formct.www.value==' '){
alert('The member name or password or domain name verification is empty, please fill it in');
return false;
}
if (formct.regpwd.value!=formct.regpwdrepeat. value){
alert('The passwords entered twice are inconsistent, please check and try again.');
return false;
}
if (formct.wwwname.value!=formct.www .value){
alert('Please enter the correct domain name of this site according to the prompts: http://bbs.ourfuwa.com This is only to prevent malicious registration of spam software. We apologize for the inconvenience caused to your registration') ;
return false;
}
if (formct.regpwd.value.length alert('The password is too short, please use more than 6 characters');
return false ;
}
}


Please note that the red part 25 is the length of your domain name
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn