Revision: 44806
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at April 19, 2011 04:19 by scottwatkins
Initial Code
function randompassword($len) { $pass = ''; $lchar = 0; $char = 0; for($i = 0; $i < $len; $i++) { while($char == $lchar) { $char = rand(48, 109); if($char > 57) $char += 7; if($char > 90) $char += 6; } $pass .= chr($char); $lchar = $char; } return $pass; }
Initial URL
http://www.go4expert.com/forums/showthread.php?t=269
Initial Description
Initial Title
Temporary password in PHP
Initial Tags
Initial Language
PHP