|
e d i t i n f o r m a t i o n
If you're already a member and some of your info has changed, use this form to update it. If you want to join, use the join form located here. Thanks! ^_^ } elseif ($action == "sendupdate"){ if (!isset($_POST[name]) || !isset($_POST[email]) || !isset($_POST[country])) { header( "$siteurl/join.php?update" ); } elseif (empty($_POST[name]) || empty($_POST[email]) || empty($_POST[country])) { echo "ErrorAw fooch.. you forgot to enter either your old email address, your name, or your country. Please press the back button in your browser and try again. u_u' "; } else { $msg = "Name:\t$_POST[name]\n"; $msg .= "Old E-Mail:\t$_POST[email]\n"; $msg .= "Old URL:\t$_POST[url]\n"; $msg .= "Country:\t$_POST[country]\n"; $msg .= "New E-Mail:\t$_POST[newemail]\n"; $msg .= "New URL:\t$_POST[newurl]\n"; $msg .= "Other Changes:\t$_POST[comments]\n"; $msg .= "Sender IP:\t$REMOTE_ADDR\n"; $msg .= "\nLogin to your Admin Panel: $siteurl/admin.php\n"; $recipient = "$adminemail"; $subject = "Update Info - $sitename"; $mailheaders = "From: $_POST[email]\n"; $mailheaders .= "Reply-To: $_POST[email]\n\n"; mail($recipient, $subject, $msg, $mailheaders); echo "Thanks, your update has been sent. I'll change your info as soon as possible! ^.^ "; ?> } } include("$footer"); ?> |