can somebody give the code for register using email...once the user have register, the passwrd will go to the email... i need in html version..thanx... need your help guys..
passwrd through email (xhmtl), for login
Collapse
X
-
Oh is that what u wona do after registratiion ur password and username get to send to ur email i have that code i dnt have one where u get a password thru email without typing an email in
here are the code i have so it must be at bottom of the page just put it underneath
Code:echo "<i>Registration completed successfully!</i> Now you are a proud member in <u>$stitle!</u><br/><br/><b>Bookmark next page</b> for auto login <br/>"; $tolog = true; } echo "</p>"; }
Code:echo "<p align=\"center\">"; if($tolog) { $msg = "\n Username: ".$uid." \n Password: ".$pwd." \n\n http://Retrivewap.co.za is a nice friendly chat community we are glad to hav u with us :o) pls feel free to bring ya m8s along \n\n Thank You\n"; $subj = "Registration details for Retrivewap.co.za"; $headers = 'From: noemail@retrivewap.co.za' . "\r\n" . 'Reply-To: noreply@retrivewap.co.za' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail($email, $subj, $msg, $headers); echo "<a href=\"login.php?loguid=$uid&logpwd=$pwd\"><img src=\"images/home.gif\" alt=\"*\"/>"; echo "Login</a>"; }else{ echo "<a href=\"index.php\"><img src=\"images/home.gif\" alt=\"*\"/>"; echo "Home</a>"; echo "</p>";
Comment
Comment