loginchk.php

来自「图书管理系统」· PHP 代码 · 共 32 行

PHP
32
字号
<?php
session_start();
session_register('admin');
require "conn.php";
require "adminfun.inc";
require "top.php";
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><?php echo $webname;?>_<?php echo $orgname;?>_管理员登录验证</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="../default.css" rel="stylesheet" type="text/css" />
</head>
<body>
<center>
<?php
	//获取登录页面传递来的用户信息
	$tadmin = $_POST['admin'];
	$tpwd = $_POST['password'];
	$afun = new adminos();
	$afun -> loginchk($tadmin,$tpwd,$admin);
?>
</center>
</body>
</html>
<center>
<?php
require "foot.php";
?>
</center>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?