function rand_word($ num = 12){ $ re = '';$ list = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz〜0123456789#$%^&"; array_rand($list,$num); foreach($key as $value){ $re .= $list[$value]; } return $re; }