API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
Namespaces | |
namespace | core |
Variables | |
$uname = XoopsRequest::getString('uname', '', 'POST') | |
$pass = XoopsRequest::getString('pass', '', 'POST') | |
$rememberme = XoopsRequest::getString('rememberme', '', 'POST') | |
$redirect = XoopsRequest::getUrl('xoops_redirect', '', 'POST') | |
if($uname==''|| $pass=='') | $member_handler = xoops_getHandler('member') |
$myts = MyTextSanitizer::getInstance() | |
$xoopsAuth = XoopsAuthFactory::getAuthConnection($myts->addSlashes($uname)) | |
$user = $xoopsAuth->authenticate($uname, $pass) | |
if(false !==$user) elseif(empty($redirect)) | else |
XoopsMemberHandler $member_handler = xoops_getHandler('member') |
$myts = MyTextSanitizer::getInstance() |
$pass = XoopsRequest::getString('pass', '', 'POST') |
$redirect = XoopsRequest::getUrl('xoops_redirect', '', 'POST') |
$rememberme = XoopsRequest::getString('rememberme', '', 'POST') |
$uname = XoopsRequest::getString('uname', '', 'POST') |
$user = $xoopsAuth->authenticate($uname, $pass) |
$xoopsAuth = XoopsAuthFactory::getAuthConnection($myts->addSlashes($uname)) |
if(false !==$user) elseif (empty( $redirect)) else |