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

WBOY
Release: 2016-06-13 12:48:26
Original
791 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.
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