<?
$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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
>
>
>




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to