Guest User

Untitled

a guest
Oct 20th, 2017
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. <!-- Created by BenJWilkins.co.uk --> <!--?php
  2. $protected = "452452";
  3. if ($protected < "999712") {
  4. ?--> <!-- Created by BenJWilkins.co.uk -->
  5. <form name="gm" method="post" action="<?php echo $_SERVER['PHP_SELF'];?>">
  6. Account: <input type="text" name="who" value="" /><br />
  7. <br />
  8. Goal:<br />
  9. <textarea name="goal" cols="50" rows="3"></textarea><br />
  10. <br />
  11. Proof:<br />
  12. <textarea name="proof" cols="50" rows="3"></textarea> <input type="submit" name="gm" id="gm" value="Send!" />
  13. </form>
  14. <!--?php
  15. mysql_connect("localhost", "anumaz_anumaz", "allo123") or die(mysql_error());
  16. mysql_select_db("anumaz_goals") or die(mysql_error());
  17. if(isset($_POST['anumaz_goals']))
  18. {
  19. $name = $_POST['who'];
  20. $goal = $_POST['goal'];
  21. $proof = $_POST['proof'];
  22. $sql = "INSERT INTO data (id ,name ,goal ,proof) VALUES ('NULL' , '$name' , '$goal' , '$proof')";
  23. if (!mysql_query($sql));
  24. }
  25. }
  26. else { echo "HACK DETECTED"; }
  27. ?-->
Add Comment
Please, Sign In to add comment