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 Calculate days
PHP Chain of Command Design Pattern
PHP GD Clock
PHP Website Open Port Check
PHP File Information
PHP File Search in directory and display
PHP Apache Headers Language Detect
PHP Headers file download
PHP BB Code Smiles
PHP Numbers Formatting