$auth = $_REQUEST['AUTH_ID']; $domain = ($_REQUEST['PROTOCOL'] == 0 ? 'http' : 'https') . '://'.$_REQUEST['DOMAIN']; $res = file_get_contents($domain.'/rest/user.current.json?auth='.$auth); $arRes = json_decode($res, true); ?>
Bitrix24 has told the server that your name is [index]