function randompassword( $length = 8 ) {
$passchar = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()_-=+;:,.?";
$password = substr( str_shuffle( $passchar ), 0, $length );
return $password;
}
$password = randompassword(8);
$passchar = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()_-=+;:,.?";
$password = substr( str_shuffle( $passchar ), 0, $length );
return $password;
}
$password = randompassword(8);