Unstoppable Domains — Get your daily AI drops report

Proxy Detection in php

NamecheapNamecheap
Watch

axilant

Account Closed
Impact
28
This isnt ment to be used as is, needs some work but it does the trick. You need some php knowledge to use this.

<?php

echo "Starting Proxy Detection System<br><br>";

#Here you can call a function to check if the IP is blocked
#and if not then continue to the IF statement

if ($HTTP_X_FORWARDED_FOR)
{
echo "Warring: You might be using a proxy server to connect us<br><br>";
echo "Connected Via: " . $HTTP_VIA . " - " . $REMOTE_ADDR;
echo "<br>Your real IP: " . $HTTP_X_FORWARDED_FOR;
}
else
{
echo "You are probably not using a proxy server<br>";
echo "Your IP: " . $REMOTE_ADDR;
}

?>


Thanks,
Cody Selzer
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Mmmm, looks pretty good Cody.. I've done a similar thing in the past.
 
0
•••
Dynadot — .com TransferDynadot — .com Transfer
Appraise.net

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back