Home > Backend Development > PHP Tutorial > 新手求助:拷贝光盘中的源代码,无法登陆前台界面

新手求助:拷贝光盘中的源代码,无法登陆前台界面

WBOY
Release: 2016-06-23 14:04:20
Original
1245 people have browsed it

由于做毕业设计需要
从头自学PHP
从书中拷贝光盘中的源代码,但无法登陆前台界面
我的环境配置是用Wamp


之后访问那个登陆页面,但是一直说密码不正确,同时显示如下网页


数据库已加载

-------------------------------------------------------------------------------------------------
index_ok.php


func.php


conn.php


回复讨论(解决方案)

1、conn.php 中 mysql_connect() 里面的密码错了
2、$_POST[username] 改为 $_POST['username'],pwd 那个同上。或者屏蔽掉notice错误级别 

mysql 无法正常连接引发的血案...如乔丹所述 changepassword.

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