Classes in linux cannot be instantiated .... at the end of this post, the custom LoginHandle edited by yaoqiings at 2015-07-1113:00:11 cannot be instantiated. you can test that mysql can be linked... I don't know why... loginHanlde. php & lt ;? Php & nbsp; ini_set & nbsp; (& nbsp; classes in er linux cannot be instantiated ....
This post was last edited by yaoyunings at 13:00:11 on
The custom LoginHandle cannot be instantiated, and the mysql test can be linked... I don't know why...
LoginHanlde. php
Ini_set ("error_reporting", "E_ALL &~ E_NOTICE ");
Include '../bld_controller/LoginHandle. class. php ';
$ Username = $ _ POST ['username'];
$ Password = $ _ POST ['password'];
$ Login = new LoginHandle (); // stops running this step.
$ Flag = $ login-> check_psw ($ username, $ password );
If ($ flag)
{
Session_start ();
$ _ SESSION ['username'] = $ username;
Echo"