Does anybody have code to randomly generate passwords?? I would like something either 6 or 8 digit alphnumeric. Its being used for people to register for a site and the site will generate the password. So the first time the person logs in they are forced to change it.

Thanks