26/03/2002 9:51:20 PM


<?
$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())),
                     0, 8);
?>

Random Password : <b><? echo "$password"; ?></b>





"Denis L. Menezes" <[EMAIL PROTECTED]> wrote on 26/03/2002 11:38:14 AM:
>
>Hello friends,
>
>I have a form for registering by the users. This runs on php/mysql.
>
>Can someone tell me how I could include auto password generation and
>emailing of this password to users?
>
>Thanks
>denis
>
>
>
>-- 
>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