mungkin pakai ini bisa?
-------------------------------------------------------------------------------------------------
// generate password
function createRandomPassword() {
$chars = "0123456789";
srand((double)microtime()*1000000);
$i = 0;
$pass = '' ;
while ($i <= 7) {
$num = rand() % 33;
$tmp = substr($chars, $num, 1);
$pass = $pass . $tmp;
$i++;
}
return $pass;
}
$password = createRandomPassword();
-------------------------------------------------------------------------------------------------
deny sondara wrote:
> betul sekali .... tapi bentuk nya karakter huruf 1 sampai sekian gitu .....
> yang muncul
>
> the godote <[EMAIL PROTECTED]> wrote: Mungkin maksudnya, passwordnya
> autogenerate pada saat mendaftar.
> gitu bukan?
>
---
Website: http://toekangweb.or.id/
Arsip milis : http://groups.yahoo.com/group/toekangweb/messages
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/toekangweb/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/