Experienced Elementalist
- Joined
- Jan 12, 2012
- Messages
- 290
- Reaction score
- 25
fixed
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature currently requires accessing the site using the built-in Safari browser.
View attachment 123087how to fix this problem
What do you mean ? my sessions doesn't even get registered lol once I enter my username / password I don't get that I've successfully logged in instead I get login failed.... What could be causing that ?
Had edited php.ini?
;extension=php_mssql.dll - > extension=php_mssql.dll
mssql.secure_connection = Off -> mssql.secure_connection = On
register_globals = On -> register_globals = Off
try, if u cant login, post erros, prints..
EDIT:
if u trying to work with EP8 + MSSQL2008, don't use MD5, use PWDCOMPARE
so where it says $pw = md5($_POST['password']); I should remove the md5 and add in the query PWDCOMPARE() in the password thing ? if not what should be the new query ?
exactly
Last thing sorry for being annoying :3
so this if (isset($_REQUEST['pwd'])) $pwd=md5($_REQUEST['pwd']);
will be
if (isset($_REQUEST['pwd'])) $pwd=($_REQUEST['pwd']);
and this
$r=mssql_query('select ID,UserNum,AuthKey from '.DB_ACC.'.dbo.cabal_auth_table where id="'.$uid.'" and password="'.$pwd.'"');
will be
$r=mssql_query('select ID,UserNum,AuthKey from '.DB_ACC.'.dbo.cabal_auth_table where id="'.$uid.'" and password=PWDCOMPARE("'.$pwd.'")');
right ?
$r=mssql_query('select ID,UserNum,AuthKey from '.DB_ACC.'.dbo.cabal_auth_table where id="'.$uid.'" and PWDCOMPARE("'.$pwd.'", Password) = 1
Code:$r=mssql_query('select ID,UserNum,AuthKey from '.DB_ACC.'.dbo.cabal_auth_table where id="'.$uid.'" and PWDCOMPARE("'.$pwd.'", Password) = 1
T_function error, what am i missing in this line?