#11
Всех участников с НОВЫМ ГОДОМ!!! Счастья успехов. И все, что не было в том году сбылось в этом!!! Всех С НОВЫМ ГОДОМ ЕЩЁ РАЗ!
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /var/www/.../common.php on line 307Сам код
function make_rand_str ($len = 10)
{
$str = '';
while (strlen($str) < $len)
{
$str .= str_shuffle(preg_replace('#[^0-9a-zA-Z]#', '', crypt(uniqid(mt_rand(), true))));
}
return substr($str, 0, $len);
}работы (не работы) движка на 7.0.Рано еще смотреть на 7-ю. На 7-ку нужно смотреть тогда, когда будет ближе к дате выхода новой версии дебиана с 7-й из репы по умолчанию.