Advertisement
D0xDox

da

Jun 22nd, 2012
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.90 KB | None | 0 0
  1. <?php
  2. $email = $_POST['email'];
  3. $xfire = $_POST['xfire'];
  4. $gamename = $_POST['username'];
  5. $con = $_POST['contrbute'];
  6. $key = $_POST['key'];
  7. $mic = $_POST['mic'];
  8. $skill = $_POST['skill'];
  9. <!DOCTYPE html>
  10. <html>
  11. <head>
  12. <script type="text/javascript">
  13. function regerror()
  14. {
  15. alert("You dun goofed. Fill all forms in.");
  16. }
  17. </script>
  18. </head>
  19. </html>
  20. if (isset($email) && ($xfire) && ($gamename) && ($con) && ($key) && ($mic) && ($skill))
  21. {
  22.  
  23. $subject = $gamename . " wants to join your team";
  24. $message = $xfire . " is the xfire of the user that wants to join your team.
  25. Their alias is: " . $gamename . ".
  26. His contrubution:
  27. " . $con . "
  28. Do they have a key? " . $key . "
  29. Do they have a mic? " . $mic . "
  30. What is their Skill Level? " . $skill;
  31. $sendto = "EMAILREMOVEDFORNOW";
  32. mail($sendto, $subject, $message, "From:" . $email);
  33. header('location:index.php');
  34. }
  35. else
  36. {
  37. regerror();
  38. }
  39. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement