表单实现用户登录

表单实现登录界面


<html>
<head>
	<meta charset="utf-8">
	<title>Logintitle>
head>
<body>
	<form action="Logined.php" method="post">
	<h3>登录管理后台h3>
	用户:<input type="text" name="userName"><br/><br/>
	密码:<input type="password" name="userPd"><br/><br/>
	<input type="checkbox" name="" checked>记住用户名 
	<input type="checkbox" name="">自动登录<br/><br/>
	<input type="submit" name="登录">
	form>
body>
html>

	header('content-type:text/html;charset=utf-8');
	echo '用户名:'.$_POST['userName'].'
'
; echo '密码为:'.$_POST['userPd'];

丑陋的登录界面
表单实现用户登录_第1张图片
丑陋的登陆后界面
在这里插入图片描述

你可能感兴趣的:(表单实现用户登录)