厉害
谢谢楼主!
登录验证码js验证了一下,后台为什么还要验证阿?
永远不要相信用户提交的数据,前台不安全
用ci开发这么庞大的系统,真的好么
楼主数据库呢?
不错值得学习的好代码
下载看了,目录结构布置的太差,应该多学习下thinkphp
要修改什么地方啊? 为什么我的页面全是错误?
求指教
我只是吧databases.php 修改了
$db['default']['password'] = "liaofu";数据库lcn导入后数据也很正常啊
错误提示如下:
A PHP Error was encountered
Severity: 8192
Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Hooks has a deprecated constructor
Filename: libraries/Hooks.php
Line Number: 30
A PHP Error was encountered
Severity: 8192
Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Config has a deprecated constructor
Filename: libraries/Config.php
Line Number: 29
A PHP Error was encountered
Severity: 8192
Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_URI has a deprecated constructor
Filename: libraries/URI.php
Line Number: 29
A PHP Error was encountered
Severity: 8192
Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Router has a deprecated constructor
Filename: libraries/Router.php
Line Number: 29
A PHP Error was encountered
Severity: 8192
Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Output has a deprecated constructor
Filename: libraries/Output.php
Line Number: 29
A PHP Error was encountered
Severity: 8192
Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Input has a deprecated constructor
Filename: libraries/Input.php
Line Number: 29
A PHP Error was encountered
Severity: 8192
Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Language has a deprecated constructor
Filename: libraries/Language.php
Line Number: 27
A PHP Error was encountered
Severity: 8192
Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Base has a deprecated constructor
Filename: codeigniter/Base5.php
Line Number: 33
A PHP Error was encountered
Severity: 8192
Message: Methods with the same name as their class will not be constructors in a future version of PHP; Controller has a deprecated constructor
Filename: libraries/Controller.php
Line Number: 30
A PHP Error was encountered
Severity: 8192
Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Loader has a deprecated constructor
Filename: libraries/Loader.php
Line Number: 29
A PHP Error was encountered
Severity: 8192
Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_DB_driver has a deprecated constructor
Filename: database/DB_driver.php
Line Number: 31
找到错误了,原来是PHP版本的问题,切换了版本,将mysql改为 mysqli 就可以了,真是奇怪