Detecting a Proxy Server
Overview: Many ISP / Users use Proxy server, this simple script detects the if a users is using a proxy server to connect to your website.
Use this simple script to detect if your users is comming from a Proxy Server!
Click here to see the script in action!
<font face=verdana size=2>
<?php
// use this script to detect whether or not a user is using a
//proxy server to connect to your website.
echo "<font size=3><B>Proxy Detector</B></font><P>";
if(isset($HTTP_X_FORWARDED_FOR))
{
if ($HTTP_X_FORWARDED_FOR)
{
// proxy detected...
?>
<b>Proxy Detected...</b><br>
Your Actual IP Address:
<i><?= $HTTP_X_FORWARDED_FOR ?></i><br>
Your Proxy Server:
<i><?= $HTTP_VIA ?></i>
<BR> You Proxy I.P address: <?= $REMOTE_ADDR ?><br>
<?
}
}
else
{
// no proxy detected
?>
<b>No Proxy Detected</b><br>
Your Actual IP Address:
<i><?= $REMOTE_ADDR ?></i><br>
<?
}
?>
</font>
Home | Privacy Policy | Contact Us | Terms of Service
(c) 2002 - 2018 www.PHPbuddy.com Unauthorized reproduction/replication of any part of this site is prohibited.
|