Securing Your Passwords

A simple function which will output a random password

<?php
function randompassword($count){
$pass = str_shuffle(abcefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890@#%$*);
return substr($pass,3,$count);
}
? >