Re: Password Generator Script
| From: | Liam MacKenzie | Date: | Thu, 25 Jul 2002 07:33:46 +0000 |
| Subject: | Re: Password Generator Script | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-109433@lists.php.net to get a copy of this message | ||
<?
$password = substr(ereg_replace("[^A-Za-z0-9]", "", crypt(time())) .
ereg_replace("[^A-Za-z0-9]", "", crypt(time())) .
ereg_replace("[^A-Za-z0-9]", "", crypt(time())),
9, 10);
?>
Random Password : <b><? echo "$password"; ?></b>
In action:
http://scripts.operationenigma.net/passgen.php
Have fun :-)
----- Original Message -----
From: "Monty" <monty3@hotmail.com>
To: <php-general@lists.php.net>
Sent: Thursday, July 25, 2002 2:49 PM
Subject: [PHP] Password Generator Script
> Can anyone recommend where I could find a decent script that automatically
> generates passwords? I don't care if they are readable or just random
> letters, numbers.
>
> Thanks!
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>