My Code Genius by 2 Geniuses
Wednesday, April 3, 2013
How to create a unique string in PHP (Simple Way)
$string = md5(time());
Instead of md5, you can use SHA1 or any other encryption method in PHP OR a mix of them.
Eg :
$string = sha1(md5(time()));
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)