Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $email = $_POST['email'];
- $xfire = $_POST['xfire'];
- $gamename = $_POST['username'];
- $con = $_POST['contrbute'];
- $key = $_POST['key'];
- $mic = $_POST['mic'];
- $skill = $_POST['skill'];
- <!DOCTYPE html>
- <html>
- <head>
- <script type="text/javascript">
- function regerror()
- {
- alert("You dun goofed. Fill all forms in.");
- }
- </script>
- </head>
- </html>
- if (isset($email) && ($xfire) && ($gamename) && ($con) && ($key) && ($mic) && ($skill))
- {
- $subject = $gamename . " wants to join your team";
- $message = $xfire . " is the xfire of the user that wants to join your team.
- Their alias is: " . $gamename . ".
- His contrubution:
- " . $con . "
- Do they have a key? " . $key . "
- Do they have a mic? " . $mic . "
- What is their Skill Level? " . $skill;
- $sendto = "EMAILREMOVEDFORNOW";
- mail($sendto, $subject, $message, "From:" . $email);
- header('location:index.php');
- }
- else
- {
- regerror();
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement