|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
membersystem
Hello I am trying to get yours membersystem to work, but I get this message on the file register line 84....
Notice: Undefined variable: pass in C:\www\register.php on line 84 function makeRandomPassword() { $salt = "abchefghjkmnpqrstuvwxyz0123456789"; srand((double)microtime()*1000000); $i = 0; while ($i <= 7) { $num = rand() % 33; //84...??????????? $tmp = substr($salt, $num, 1); $pass = $pass . $tmp; $i++; } return $pass; } $random_password = makeRandomPassword(); Thanks guy´s brother |
|
#2
|
|||
|
|||
|
Exactly which line is line 84?
|
|
#3
|
|||
|
|||
|
hello,
This is line 84 $num = rand() % 33; //84...??????????? brother |
|
#4
|
|||
|
|||
|
Ok, well it's nothing to be worried about... when you upload it to your webserver that'll most likely disappear, if your using your computer as a webhost then just turn down the warning level in php.ini so it'll only report warnings and errors, not notices.
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > membersystem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|