simple generate random password

$allowed_chars = "abcdefghijklmnopqrstuvwxyz1234567890";
$randompw = substr(str_shuffle($allowed_chars),0,8);