There are always people registered and advertised in forums.
Open wind \ register.htm
<! --
EOT;
If (function_exists ('imagecreate') & $ db_lgck) {print <EOT
-->
<Tr> <td class = 'f _ one'> Verification Code <font color = red> * </font> </td>
<Td class = 'f _ one'> <input type = 'text' maxLength = 4 name = 'lg _ num' size = 10> enter the numbers or English letters in the picture in the Left box </td> </tr>
<! --
EOT;
} Print <EOT
-->
Add the following code below them:
<Tr>
<Td class = 'f _ one'> <B> domain name of this site * </B>: </td>
<Td class = 'f _ one'>
<INPUT type = text size = 25 name = wwwname maxlength = 8>
<INPUT type = hidden name = www value = http://bbs.ourfuwa.com>
<Font color = red> <B> only need to input </font> <font color = blue> http://bbs.ourfuwa.com </font> </B> This content is only to prevent spam malicious Registration use, sorry for the inconvenience caused by your registration! </Td> </tr>
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, password or domain name verification is blank, please fill in ');
Return false;
}
If (formct. regpwd. value! = Formct. regpwdrepeat. value ){
Alert ('the passwords entered are inconsistent. Check the passwords and try again. ');
Return false;
}
If (formct. wwwname. value! = Formct. www. value ){
Alert (please follow the prompts to enter the correct Domain Name: http://bbs.ourfuwa.com this is only to prevent the use of junk software malicious registration, to your registration inconvenience, please forgive me ');
Return false;
}
If (formct. regpwd. value. length <6 ){
Alert ('the password is too small, please use more than six id ');
Return false;
}
}
Please note that the red part 25 is the length of your domain name