revolveextra34
Guest
Member
I am authenticating XenForo user via php.
My code:
PHP:
Code:
Read...
Read more
Continue reading...
My code:
PHP:
Code:
Code:
public function Auth($username, $password)
{
$userIDA = $this->getarray("SELECT * FROM xf_user WHERE username='".$username."'");
if($userIDA)
{
define('SESSION_BYPASS', false); // if true: logged in user info and sessions are not needed
require_once('library/XenForo/Autoloader.php');
$AutoLoader = XenForo_Autoloader::getInstance();
$AutoLoader->setupAutoloader('library')...
Read...
Read more
Continue reading...