X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=boot.php;h=9e4c8f0552c486a7eec46f1f065b1508a3b96b43;hb=0180ac563eebea23df3ffb95c35f5a9da164de52;hp=3269761c6d5f0b3249d7dfc6b2436838f8be9559;hpb=3303d9db7564cb73984755be5c54365d61653b8b;p=friendica.git diff --git a/boot.php b/boot.php index 3269761c6d..9e4c8f0552 100644 --- a/boot.php +++ b/boot.php @@ -1796,3 +1796,10 @@ function curPageURL() { return $pageURL; } +function random_digits($digits) { + $rn = ''; + for($i = 0; $i < $digits; $i++) { + $rn .= rand(0,9); + } + return $rn; +}