- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
if (strlen($arResult["AUTH"]["NEW_LOGIN"]) > 47)
$_POST["NEW_LOGIN"] = substr($arResult["AUTH"]["NEW_LOGIN"], 0, 47);
if (strlen($arResult["AUTH"]["NEW_LOGIN"]) < 3)
$arResult["AUTH"]["NEW_LOGIN"] .= "_";
if (strlen($arResult["AUTH"]["NEW_LOGIN"]) < 3)
$arResult["AUTH"]["NEW_LOGIN"] .= "_";
$arResult["AUTH"]["NEW_LOGIN"] .= "_";
очень мило