PHPFront
Home
PHP Codes
Tutorials
Scripts
Submit Code
About
Home
>
PHP
> Random Number Generator
The PHP website created by its users!
Search:
Most popular PHP codes
Latest 10
Submit Code
Photographic locations
Canberra web design
Random Number Generator
Author
Gavin
Description
This will produce a 6 digit random unique string of numbers.
Rating
(28 votes)
PHP Code
$random_number = substr(0, 6, md5(microtime()));
Rate it:
5 - Excellent
4 -
3 - Not bad
2 -
1 - Poor
Print
Comments
vallie
/ 21 Jan 06
WTF!myspace?..=drugs
Name
Website
Your comment