Additional Stuff Post:I finished most of the demo site.http://www.shielded.cfProof of work with Hide.me:https://i.gyazo.com/6e6d5f06f8fc35daf5ab8327f79b51a7.gifif you want to test our stuff in action just add the following code the the top of your index.php//put this on top of everything in your index.php
$response_array = json_decode(file_get_contents('http://shielded.cf/api/lookup/free.php?ip='.$_SERVER['REMOTE_ADDR']), true);
if($response_array['isProxy'] == 'YES')
die('');
..
..
..
//here goes the rest of your code
echo 'welcome to our site';
beware! this is a really dirty way to work with our vpn check because the server needs some time to check the user.
better create an new file and call it with some ajax. but this is more advanced and not part of this post to explain.
if you are an faucet owner i recommend to use this check only on your claims.
this helps a lot to reduce loading times on the rest of your website and vpn users can still see the website without the opportunity to claim.feel free to test the site with different proxy´s / vpn´s and let us know if the server is not correctly marked as what it is.
please ignore the tutorial code snippets on the page. they are pointing to nowhere at the moment.
best regards,
moderator notice: please move under starting post for additional informations.