update install and email activation + add friends inviting system

This commit is contained in:
unknown
2012-05-22 20:52:56 +03:00
parent 7d43ffbaa3
commit 2d87749f95
34 changed files with 765 additions and 488 deletions
+22 -2
View File
@@ -33,8 +33,28 @@ Greetings,
TravianX";
$headers = "From: Mailer@".SERVER_NAME."\n";
//$headers .= 'MIME-Version: 1.0' . "\r\n";
//$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
mail($email, $subject, $message, $headers);
}
function sendInvite($email,$uid,$text) {
$subject = "".SERVER_NAME." registeration";
$message = "Hello ".$username."
Try the new ".SERVER_NAME."!
Link: ".SERVER."anmelden.php?id=".$uid."
".$text."
Greetings,
TravianX";
$headers = "From: Mailer@".SERVER_NAME."\n";
mail($email, $subject, $message, $headers);
}