Complete Help For DOEACC Students
Monday, 5 December 2011
Generate a random alphanumeric number with php
Copy and paste it between
php
tag in your php file
$unique_key = substr(md5(rand(0, 1000000)), 0, 10 );
//Print that string
echo $unique_key;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment