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 Ban IP Address
PHP Remove line from file
PHP IP Proxy check
PHP Image Size and Attributes - PHP getimagesize Function
PHP Human Readable Random String Generator
PHP Custom MIME Types for Web-Based File Uploads
PHP Webserver Uptime
PHP Web-Based PHP File Reader | File Whitelisting & Security
PHP Limit Excerpt Length in WordPress with the_excerpt_max_charlength Function
PHP PHP Web Application - Displaying People and their Colors