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 Responsive Videos Function for Web Embeds
PHP Project Euler Problem 34
PHP Hours to Float Conversion in PHP
PHP Count files in folder
PHP Retrieve Page ID in WordPress using get_page_by_title()
PHP Checkbox Mark and detection
PHP Miltidimension array example
PHP Web Based Regex Functions - Email, Username, Domain Validation
PHP PHP Functions for WordPress Page Content and Information Retrieval
PHP Web-based ZIP Archive Creator for Directories