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..
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>"; }
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