Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. <html>
  2. <head><title>Do I know you?</title></head>
  3. <body>
  4.  
  5. <form method="post">
  6. Minecraft Username <input type="text" name="username"><br>
  7. Permission to use the above information <input type="checkbox" name="perms" value="permy">
  8. </form>
  9.  
  10. <?php
  11.  
  12. $message = "Welcome it's great to have you on board " . $_POST["name"] . ".";
  13.  
  14. if ($_POST['perms'] == 'permy') {
  15.  
  16. if ($_POST['username'] == 'alexmack' or $_POST['username'] == 'alexmack929') {
  17.  
  18. echo "Oh, hi! It's you, AlexLAD. Nice to see you!";
  19.  
  20.  
  21. }
  22.  
  23. elseif ($_POST['username'] == 'aeropvp' or $_POST['username'] == 'AeroPvP') {
  24.  
  25. echo "Oh, hi! It's you, AeroLAD. Nice to see you here!";
  26.  
  27. }
  28.  
  29. elseif ($_POST['username'] == 'generichat' or $_POST['username'] == 'GenericHat') {
  30.  
  31. echo "Oh, hi! It's you, FinLAD. Nice to see you here!";
  32.  
  33. }
  34.  
  35. else {
  36. echo "We didn't recognise your username, yout not important!";
  37. }
  38.  
  39. }
  40.  
  41. else {
  42.  
  43. echo "Ah, we can't show you anything cool! Check the box above to give us permission!";
  44.  
  45. }
  46. ?>
  47.  
  48. </body>
  49. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement