Wednesday, 28 March 2012

PHP password generation PHP password generation PHP password generation

Welcome to Technology

   Modern web-applications often provide (during registration, or password-reset) random-generated passwords for its users. However these passwords (usually a random combination of letters or numbers) are quite hard to remember: in fact, it's even impossible to read them. This article provides a function for generating English-like readable passwords. compatible PHP 4.3.0 or higher PHP 5 p>Traditional way of generating passwords is using rand() function: concatenate several random-selected letters together. Something like this: source code: php

No comments:

Post a Comment