Advertisement
tysonsand99

PHP AND NORMAL CODE

Apr 21st, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. <?php
  2. $keys = array('key','key2','key3'); // change these to your keys. put in ' s. Seperate w/ commas (,)
  3. $sub = $_GET["key"];
  4.  
  5. if (in_array($sub,$keys,TRUE)) {
  6. echo "authpass";
  7. } else {
  8. echo "authfail";
  9. }
  10. ?>
  11. local keyGivenByUser = "key2"
  12. local url = "https://example.com/auth.php?key=" .. keyGivenByUser
  13.  
  14. if game:HttpGet(url) == "authpass" then
  15. -- pass code here
  16. else
  17. -- auth fail code here
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement