$salt = 'abcdefghijklmnopqrstuvwxyz'; echo substr(str_shuffle($salt), 0, 10);