Help registration lavalair
Collapse
X
-
if you are using lavalair you must put it on core.php where auto message and registration details insert to mysql are there. If i'm n0t mistaken the name of that function is last_check.
-
nice, i need this too...where do i put this code??in register.php or in core.php??
Leave a comment:
-
PHP Code:$gen_pass = rand(11111,99999);
// remove the password input field in your registration form.
// inserting in ur sql
password='".$gen_pass."'
// mail it
$message = "Helo, this is your password: .$gen_pass.";
$check = mail("abc@example.com", $message, "Registration@mysite.com");
if($check){
echo "Mail sent!";}
Leave a comment:
-
Originally posted by stratosphere View PostGood day guys. Anyone can tell me how to send to email a random password when they register? Thanks
something like thisPHP Code:$random_number = rand(5000000000,9000000000);
$rform .= "Your Password:<br/><input type=\"hidden\" name=\"pwd\" value=\"$random_number\"/><br/>";
$rform .= "Retype Password:<br/><input type=\"hidden\" name=\"cpw\ value=\"$random_number\"/><br/>";
Leave a comment:
-
Help registration lavalair
Good day guys. Anyone can tell me how to send to email a random password when they register? Thanks
Tags: None
Leave a comment: