Help !! How to include temporary password int o your signup or log in page in php
|
Light Poster
|
|
| 16Feb2009,11:46 | #1 |
|
Help me pls? amm a newbie but i want to know how or the complete script of lig in system with temporary Password given by the admin thank you and Godbles!1
|
|
Go4Expert Founder
|
![]() |
| 16Feb2009,12:32 | #2 |
|
Could not get what you are asking ?
|
|
Go4Expert Member
|
|
| 16Feb2009,22:26 | #3 |
|
Quote:
Originally Posted by dhie Here is the random password code excluding characters "l" and "1" to prevent confusion between the two. Code:
//generate random password to be emailed to user
function createRandomPassword() {
$chars = "abcdefghijkmnopqrstuvwxyz023456789";
srand((double)microtime()*1000000);
$i = 0;
$pass = '' ;
while ($i <= 7) {
$num = rand() % 33;
$tmp = substr($chars, $num, 1);
$pass = $pass . $tmp;
$i++;
}
return $pass;
}
|
|
Light Poster
|
|
| 17Feb2009,06:41 | #4 |
|
help me plS? can any one send me the login and signup with admin panel and temporary password.... thank you and Godbless!!! hope for further reply!
![]()
|



