Help registration lavalair

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • analyzer
    replied
    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.

    Leave a comment:


  • kruzada
    replied
    nice, i need this too...where do i put this code??in register.php or in core.php??

    Leave a comment:


  • analyzer
    replied
    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:


  • stratosphere
    replied
    thanks but not working

    Leave a comment:


  • ACIDCORE
    replied
    Originally posted by stratosphere View Post
    Good day guys. Anyone can tell me how to send to email a random password when they register? Thanks
    PHP 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/>"
    something like this

    Leave a comment:


  • stratosphere
    started a topic Help registration lavalair

    Help registration lavalair

    Good day guys. Anyone can tell me how to send to email a random password when they register? Thanks
Working...
X