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 Truncate Function for Perfect SEO Description Generation
PHP Registering REST Images in WordPress with PHP
PHP MS Word
PHP .htpasswd Password Generation
PHP PHP Array Functions - Examples and Usage
PHP "Check if Accessed from the Command-Line Interface (CLI) in PHP"
PHP Months array
PHP Headers Login System
PHP Magic methods __wakeup() and __sleep() usage
PHP Scratch - repeat check