From: Harvie Date: Mon, 29 Nov 2010 01:28:52 +0000 (+0100) Subject: Added base36id to login.inc X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=117ec8d86ad28c3850599b2ab9329094039281f0;p=mirrors%2FKyberia-bloodline.git Added base36id to login.inc --- diff --git a/wwwroot/inc/eventz/login.inc b/wwwroot/inc/eventz/login.inc index 3849129..c8b5ef8 100644 --- a/wwwroot/inc/eventz/login.inc +++ b/wwwroot/inc/eventz/login.inc @@ -21,6 +21,8 @@ function login() { $user_id = $set->getString('user_id'); $user_name = $set->getString('login'); break; + case "base36id": + $login = base_convert($login, 36, 10); case "id": // HA! if it is number, escape_string is not enough $login=intval($login);