If this code is not stored in the Forum directory, you need to add the program-related file names (logging. php, register. php, index. php) to the Forum path. Such as logging. php? Action = login changed to http://your.com/discuz/logging.php? Action = login.
| The code is as follows: |
Copy code |
<Html> <Head> <Title> login </title> <Meta http-equiv = "Content-Type" content = "text/html; charset = gb2312"> </Head> <Body> <Form method = "post" action = "logging. php? Action = login "target =" _ blank "> <Input type = "hidden" name = "referer" value = "index. php"> <Table width = "100%" border = "0" cellspacing = "0" cellpadding = "0"> <Tr> <Td> user name </td> <Td> <Input type = "text" name = "username"> </Td> </Tr> <Tr> <Td> password </td> <Td> <Input type = "password" name = "password"> </Td> </Tr> <Tr> <Td colspan = "2"> <Input type = "submit" name = "loginsubmit" value = "logon"> <Input type = "reset" name = "reset" value = "reset"> <Input type = "button" value = "register" onclick = "javascript: this. form. action = 'Register. Php'; this. form. submit ();"> <Input type = "button" value = "" onclick = "javascript: this. form. action = 'index. Php'; this. form. submit ();"> </Td> </Tr> </Table> </Form> </Body> </Html>
|