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 Unset global variables
PHP "Check if Accessed from the Command-Line Interface (CLI) in PHP"
PHP Human Readable Random String Generator
PHP Another server information
PHP Count files in folder
PHP GD Style
PHP Web-Based PHP File Reader | File Whitelisting & Security
PHP Basic Directory Listing
PHP Singleton Design Pattern
PHP Show Related Posts @ Single Post