Hi, Tim.
I have notes from 2010, but the original forum post is no longer available. I *think* I tried it, but can't be sure.
WAS:
$_REQUEST['password'] = substr(md5(uniqid(rand(), true)), 15);
FOR 4-CHARACTER PASSWORD, CHANGED TO:
$_REQUEST['password'] = substr(md5(uniqid(rand(), true)),0, 4);
Not only was the '15' changed to '4', but the '0,' was also added in front of it.
Hope that works for you.
~ Deborah