PHP Classes

You should give a chance for others to decide what to do with...

Recommend this page to a friend!

      UnTor  >  All threads  >  You should give a chance for others...  >  (Un) Subscribe thread alerts  
Subject:You should give a chance for others...
Summary:Package rating comment
Messages:2
Author:Buzz Pochine
Date:2017-07-04 07:52:20
 

Buzz Pochine rated this package as follows:

Utility: Insufficient
Consistency: Sufficient
Examples: Sufficient

  1. You should give a chance for others...   Reply   Report abuse  
Picture of Buzz Pochine Buzz Pochine - 2017-07-04 07:52:20
You should give a chance for others to decide what to do with tor-users. Add method like isTorUser() and it will be more useful.

  2. Re: You should give a chance for others...   Reply   Report abuse  
Picture of Romeu Gamelas Romeu Gamelas - 2017-07-04 08:29:23 - In reply to message 1 from Buzz Pochine
This script is a Tor users blocker, not to set flags.
Thus the needed code changes for these purpose are minimal. Just create a new var, like

public $isTorUser = false;

and instead of show up the block page set it to true here:

if(strstr($tors,$_SERVER['REMOTE_ADDR'])){
$this->isTorUser = true;
//remove or comment this die(); call
}