CODE
LIBARY.COM
Home
/
PHP
PHP Random number using microtime
Random number using microtime
<? $a = explode(" ",microtime()); echo substr(rand(1,$a[1]), 0, 8); ?>
$a = explode(" ",microtime()); echo substr(rand(1,$a[1]), 0, 8); ?>
Copy to Clipboard
Related Snippets
PHP Curl
PHP Web Based HTTPS Check - PHP Code
PHP Count file lines in a folder
PHP Files sorting by name
PHP Limit Excerpt Length in WordPress with the_excerpt_max_charlength Function
PHP Bubble Sort
PHP "Build Index from Directory Listing using make_index.py"
PHP Schwartzian transform
PHP Converting an Array to a Formatted String in PHP
PHP Files sorting by size