Home >Web Front-end >HTML Tutorial >Login page_html/css_WEB-ITnose

Login page_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:52:051467browse

<%@ page language="java" import="java.util.*" pageEncoding="GBK"%>



Login






Super administrator login










< td>







Username:
Password:
Verification Code:
Verification code
Can’t see clearly, please change one







<%
if(request.getParameter("submit")!=null){
//First get the real 4 numbers on the picture of the verification code itself
String rcode = (String)session.getAttribute("rand");
//Get the verification code entered by the user
String code = request.getParameter("code");
//Determine whether the user input is correct
if(rcode.equals(code)){
%>
The verification code is correct! !
<%
}else{
%>
The verification code is incorrect! !
<%
}

}
%>


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