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 Apache Headers Language Detect
PHP Web-based CSV to MySQL Data Import
PHP Change file upload name using Code Igniter
PHP Detecting Online Users
PHP Get current filename as variable
PHP Extracting Values from Nested JSON Data in PHP
PHP "Check if Accessed from the Command-Line Interface (CLI) in PHP"
PHP Simple File Upload
PHP Text to Image using while
PHP Remove empty space