i use this function to generate a random 7 letter password...simple change
to make it 8
function change_password($id, $password)
{
//generate a random password
$pass = "";
$salt = "abchefghjkmnpqrstuvwxyz0123456789";
srand((double)microtime()*100);
$i = 0;
while ($i <= 7) {
$nu
The robots that index the web.
Bastien gave me a web site to use for this.
Thanks.
Ron
- Original Message -
From: Zareef Ahmed <[EMAIL PROTECTED]>
To: Ron Piggott <[EMAIL PROTECTED]>
Cc: PHP DB
Sent: Saturday, March 05, 2005 11:56 AM
Subject: Re: [PHP-DB] Random Character S
Hi,
Look at uniqueid function,
but it gives some lengthy string. You can use string functiions for
your specific purpose.
http://in.php.net/uniqueid
On Sat, 5 Mar 2005 09:38:35 -0500, Ron Piggott
<[EMAIL PROTECTED]> wrote:
> Is there a way of generating an 8 character random string in PHP?
>
>