trashbin/include/functions.inc.php

11 lines
206 B
PHP

<?
// generates a hash for an user
function mkhash() {
//return substr(time(),-6,3).preg_replace('/([ ])/e', 'chr(rand(97,122))', ' ').substr(time(),-3);
return substr(uniqid(), 0, 11);
}
?>