/ Published in: PHP

Checks browser headers to see if the user is on a proxy and stops them from viewing whatever page you want. Just call the function at the top of the page. www.pgmr.co.uk for more ;)
Expand |
Embed | Plain Text
<?php /** * Block Proxy Script * Copyright 2009 - www.pgmr.co.uk - [email protected] */ function checkProxy { if($_SERVER['HTTP_X_FORWARDED_FOR'] || $_SERVER['HTTP_X_FORWARDED'] || $_SERVER['HTTP_FORWARDED_FOR'] || $_SERVER['HTTP_CLIENT_IP'] || $_SERVER['HTTP_VIA']) { } } ?>
You need to login to post a comment.