Re: random created numbers and letters

From: Date: Tue, 25 Sep 2001 21:24:44 +0000
Subject: Re: random created numbers and letters
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-12707@lists.php.net to get a copy of this message
At 25.09.2001 22:46, Saulius Jankauskas wrote:
Hello, Can you give me a piece of code, where I could see, how to create random written numbers and letters? For example, I'd like to give my visitor temporary passwrord: BS0147. To another HF0124 and so on... How to generate it with PHP? Sorry, if I didn;t explained clearly what I want. Thanks.
Did you read _anything_ in the manual before posting?! (and how on earth is this related to php-DB ?!) check out rand() srand() mt_rand() mt_srand() and so on... and I'll leave it up to the reader to decide how to create a password-fish out of a row of numbers... -- Andreas D Landmark / noXtension Real Time, adj.: Here and now, as opposed to fake time, which only occurs there and then.

« previous php.db (#12707) next »