Js|mysql when the administrator of the message management, in order to be safe, there should be an identity certification, only qualified management personnel can manage the message .<title> Webmaster Login Screen </title>
<body>
<font size=5 color=green> Webmaster Login </font>
<font color=red>
<%@ page contenttype= "text/html;charset=gb2312"%>
<%
String errmsg=request.getparameter ("errmsg");
if (errmsg!=null)
Out.print (errmsg);
%>
</font>
<form action=check.jsp method=post>
<table border=0>
<tr>
<td> Please enter the password </td><td><input type=text size=6 name=password></td>
<td><input type=submit name=send vaule= input ></td>
</tr>
</table>
</form>
<a href=board.jsp> Back message view version </a>
</body>
password.jsp
This program requires "webmaster-specific" input password, and through the following procedures to authenticate.
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
</HEAD>
<% @page contenttype= "text/html;charset=gb2312"%>
<BODY>
<%
String password=request.getparameter ("password");
if (Password.equals ("123456"))
Response.sendredirect ("manager.jsp");
Else
{
String errmsg= "The password entered is incorrect! ";
Response.sendredirect ("password.jsp?errmsg=" +errmsg);
}
%>
</BODY>
</HTML>
check.jsp
Of course, this is just a simple identity authentication.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service