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 Set Featured Image in WordPress using PHP
PHP BB Code
PHP Truncate Function for Perfect SEO Description Generation
PHP Months array
PHP Flat File User Log
PHP List Authors Alphabetically with First Letter as Header
PHP While Looper
PHP strtolower() and strtoupper() alternatives
PHP Converting an Array to a Formatted String in PHP
PHP Multifile Upload