Location: PHPKode > projects > phpBB login classes > phpbb-login-classes/class_loginphpBB_example.php
<?php
require_once 'class_login.php';
$login = 'your_login_to_check';
$pass = 'your_pass_for_your_login';

$login = new login('./forum/config.php','./forum/includes/constants.php');
if (count($login->aErrors)>0) print_r($login->aErrors);
else{
 echo 'id for user ['.$login->verify($login,$pass).']';
}
?>

Return current item: phpBB login classes