Re: [PHP] My code has problem.
* Thus wrote Pahlevanzadeh Mohsen: > My code is: > include_once('./auth/Auth.php'); > function x(){echo "xxx";} > > > $parameterforauth=array("dsn"=>"", > "table"=>"usernames", > "usernamecol"=>"user", >
[PHP] My code has problem.
My code is: "", "table"=>"usernames", "usernamecol"=>"user", "passwordcol"=>"pass"); $ptr_auth_C=new auth("DB",$parameterforauth,"x"); $ptr_auth_C->start(); ?> My output is : Warning: _factory(Auth/Container/DB.php): fail