]> git.mxchange.org Git - friendica.git/blobdiff - boot.php
doc_new-englisch-help-files
[friendica.git] / boot.php
index 3269761c6d5f0b3249d7dfc6b2436838f8be9559..9e4c8f0552c486a7eec46f1f065b1508a3b96b43 100644 (file)
--- 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;
+}