!同样的用户名密码 后台登不了

WBOY
Release: 2016-06-13 12:30:25
Original
806 people have browsed it

求助!同样的用户名密码 后台登不了

	include_once ("conn.php");<br />
	ob_start ();<br />
	session_start ();<br />
<br />
	//判断是否管理员登陆<br />
	if ($_SESSION['userName'] && $_SESSION['is_admin'] == 'Y') {<br />
?><br />
Copy after login

<?php <br />
	} else {<br />
		echo "对不起,您没有访问本页面的权利";<br />
		echo "<a href='login.php'>返回后台登陆页面</a>";<br />
	}<br />
	ob_end_flush();<br />
?>
Copy after login

用户密码和数据库一样的,权限也是管理员,欢迎页面却一直跳转到"没有访问本页面的权利"页面  

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template