2014-07-07 08:54:45 +00:00
|
|
|
<?
|
|
|
|
// generates a hash for an user
|
|
|
|
function mkhash() {
|
2016-07-18 17:43:25 +00:00
|
|
|
//return substr(time(),-6,3).preg_replace('/([ ])/e', 'chr(rand(97,122))', ' ').substr(time(),-3);
|
|
|
|
return substr(uniqid(), 0, 11);
|
2014-07-07 08:54:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
?>
|