Tuesday 26 April 2011

Tor or not Tor: How to tell if someone is coming from a Tor exit node, in PHP

If you want to see all detail, please go to the Source. /* NOTES on Irongeek's TorOrNot script:
To use this php script on some pages it will need it to have a png extension.
To do this, put a redirect from a png file to the php file in your apache config file (httpd.conf) or .htaccess.
Example line:
Redirect /torornot.png /torornot.php

Consider this code to be GPLed, but I'd love for you

No comments:

Post a Comment