<Form id = "loginform" method = "post" name = "login" action = "http://www.homebk.net: 8080/home/do. php? Ac = login & ref "target =" _ blank ">
<Td width = "186"> User Name:
<Input id = "username" name = "username" type = "text" size = "7" class = "input" tabindex = "2"/> </td>
& Lt; td width = "186" & gt; password:
<Input type = "password" name = "password" id = "password" size = "7" class = "input" tabindex = "3 s"/> </td>
<Td width = "59" align = "right" valign = "middle"> & nbsp;
<Input type = "submit" id = "loginsubmit" name = "loginsubmit" value = "Logon" style = "width: 47px; height: 20px; background: url (/resources/images/btnbg.jpg) no-repeat; border: 0; cursor: pointer; font-size: 12px; color: # FFFFFF; text-align: center; "/>
<Input type = "hidden" name = "formhash" value = "d9d21108"/>
<Input type = "hidden" name = "refer" value = "/home/space. php? Do = home "/>
</Td>
<Td width = "47"> </td>
</Form>
Note that you need to change two settings !~
1. Find the line of logon and registration anti-Water Filling Machine in the common. php file and run the following code:
- If (empty ($ _ sconfig ['login _ action']) $ _ sconfig ['login _ action'] = MD5 ('login '. MD5 ($ _ sconfig ['sitekey']);
- If (empty ($ _ sconfig ['register _ action']) $ _ sconfig ['register _ action'] = MD5 ('register '. MD5 ($ _ sconfig ['sitekey']);
Copy code
Changed:
- If (empty ($ _ sconfig ['login _ action']) $ _ sconfig ['login _ action'] = 'login ';
- If (empty ($ _ sconfig ['register _ action']) $ _ sconfig ['register _ action'] = 'register ';
Copy code
2. Out-of-siteLoginRemove the formhash judgment.
/Source/function_common.php File
& $ _ POST ['formhash'] = formhash ()
Copy code
Delete this code
OtherwiseLoginNo