1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-05 08:17:47 +02:00

Time to roll the dice and see what number comes up :)

[Replace calls to rand/mt_rand in certain places with an alternative method]


git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5589 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Graham Eames
2006-02-26 17:35:17 +00:00
parent e5f594466d
commit c3c7a5f332
9 changed files with 45 additions and 32 deletions

View File

@@ -235,7 +235,7 @@ function make_bbcode_uid()
{
// Unique ID for this message..
$uid = md5(mt_rand());
$uid = dss_rand();
$uid = substr($uid, 0, BBCODE_UID_LEN);
return $uid;