Thank you mate :)
Works here :)
Printable View
Thank you mate :)
Works here :)
http://i60.tinypic.com/rblcgj.png[/QUOTE]
bro ENABLED Module @adminCP
in Xampp 1.7.1 Work 100%, you dont need to upgrade or download new version.
http://i58.tinypic.com/vfhqs.png
its hard to setup mates
why dont you make video tutorial guys?
I use 1.7.3 with ODBC
here are the guides.
Im not using MD5 on this :D
1st:
2ND:Code:// SQL DATA$config['SQL_DB_HOST'] = '127.0.0.1';
$config['SQL_DB_NAME'] = 'MuOnline';
$config['SQL_DB_2_NAME'] = 'Me_MuOnline';
$config['SQL_DB_USER'] = 'sa';
$config['SQL_DB_PASS'] = 'password';
$config['SQL_DB_PORT'] = '1433';
$config['SQL_USE_2_DB'] = false; $config['SQL_PDO_DRIVER'] = 3; // 1= dblib (default) || 2= sqlsrv || 3= odbc
3RD:Code:1. Download latest xampp if you are windows user.
2. Enable ODBC ($config['SQL_PDO_DRIVER'] = 3;)
3. Enable extension=php_pdo_odbc.dll by removing ";" at php/php.ini
4. Restart WebServer.
5. Configure config.php (if you use MSSSQL Express use for host NAME\SQLEXPRESS ex ROOTHOME\SQLEXPRESS)
else you can use host ip
Open includes/classes/class.common.php
FIND
REPLACED ON THISCode:$query = "SELECT * FROM "._TBL_MI_." WHERE "._CLMN_USERNM_." = '$username' AND "._CLMN_PASSWD_." = [dbo].[fn_md5]('$password','$username')";
A guide from @4FUNer :)Code:$query = "SELECT * FROM "._TBL_MI_." WHERE "._CLMN_USERNM_." = '$username' AND "._CLMN_PASSWD_." = '$password'";
Hope some of you guys "master of web files" can make this web compatible on z-team database., thank you!
can anyone kindly attached your class.common.php file so I could compare mine, this might be the answer to my problem.
Only this I change mate :)
Code:public function validateUser($username,$password) { global $dB,$dB2;
if(!Validator::UsernameLength($username)) { $error = true; }
if(!Validator::AlphaNumeric($username)) { $error = true; }
if(!Validator::PasswordLength($password)) { $error = true; }
if(!$error) {
$query = "SELECT * FROM "._TBL_MI_." WHERE "._CLMN_USERNM_." = '$username' AND "._CLMN_PASSWD_." = '$password'";
if(config('SQL_USE_2_DB',true)) {
$check = $dB2->query_fetch_single($query);
} else {
$check = $dB->query_fetch_single($query);
}
if(is_array($check)) {
do you have screenshot mate?