PHP Classes

Tor: Check if an IP is TOR network exit address

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 53%Total: 984 All time: 3,687 This week: 161Up
Version License PHP version Categories
tor 1.0BSD License5.0Networking, HTTP, PHP 5


This class can check if an IP is TOR network exit address.

It can send a query to the TOR network exit list DNS server to determine if a given IP address is of an user using TOR to access remote servers.

By default the class checks the IP address of the user accessing the current Web site.

Innovation Award
PHP Programming Innovation award nominee
November 2011
Number 3

Prize: One copy of the Zend Studio
Tor is collaborative network that allows people to access sites hiding their original IP addresses to avoid being tracked.

Many sites do not like to allow accesses of users that use the Tor network, as users may use anonymous access perform illegal activities.

This class provides a solution that allows to determine if an user is accessing a site using the Tor network.

This allows a PHP site to disallow the user to access a site using the Tor network.

Manuel Lemos
Picture of Alexander Over
Name: Alexander Over <contact>
Classes: 4 packages by
Country: Germany Germany
Age: 43
All time rank: 142089 in Germany Germany
Week rank: 550 Up25 in Germany Germany Up
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example example of use
Plain text file tor.class.php Class the base class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,687
This week:161Up
User Ratings User Comments (1)
 All time
12 years ago (Tom Schaefer)