public static function fromEmail($email, $active = true)
    {
        global $PPHP;
        $db = $PPHP['db'];

        $email = strtolower($email);
        $isActive = ($active ? ' AND active ' : '');
        if ($user = $db->selectSingleArray(self::$_selectFrom . " WHERE email=? {$isActive}", array($email))) {
            return $user;
        };
        return false;
    }