Authentication in php MySQL -


i using sql , php code, user table have password column char(32) , salt column char(64)

now php code trying authenticate using below code

$this->_authadapter = new zend_auth_adapter_dbtable(     $db,     engine_api::_()->getitemtable('user')->info('name'),     'user_id',     'password',     "md5(concat('".$salt."', ?, salt)))"    ); 

but gives me following error: supplied parameters zend_auth_adapter_dbtable failed produce valid sql statement, please check table , column names validity.

any suggestion??


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -