SHARE
TWEET

PHP AND NORMAL CODE

tysonsand99 Apr 21st, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top