View Single Post
Old 12-10-2007, 08:53 PM   #3 (permalink)
Jay
The Contributor
Good Samaritan 
 
Join Date: Dec 2007
Posts: 60
Thanks: 5
Jay is on a distinguished road
Default

Avoid using str_split when you don't have to.. initializing the array yourself is a lot more efficient. str_split, and other methods that take care of initiliazing, were made for the manipulation of un-controllable data and such.

And as VI already said.. Just do random letters! Use uniqid() and MD5

PHP Code:
$pass substrmd5uniqidmt_rand(), true ) ), 0mt_rand512 ) ); 
Jay is offline  
Reply With Quote