Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $keys = array('key','key2','key3'); // change these to your keys. put in ' s. Seperate w/ commas (,)
- $sub = $_GET["key"];
- if (in_array($sub,$keys,TRUE)) {
- echo "authpass";
- } else {
- echo "authfail";
- }
- ?>
- local keyGivenByUser = "key2"
- local url = "https://example.com/auth.php?key=" .. keyGivenByUser
- if game:HttpGet(url) == "authpass" then
- -- pass code here
- else
- -- auth fail code here
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement