I use this and CF
$users->updateUser($_SESSION['user']['id'], 'ip_last', $_SERVER['HTTP_CF_CONNECTING_IP']);
if you have any problem to ban people go to class.core.php and change to this on line 90
Can someone help me finish this code?
It will show their real IP even when using a proxy
if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) {
$_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP'];
}
I got an advice from rzone to use a "layer 7 load-balancing transparent proxy mode | HAProxy...
When im trying to access 192.168.1.** on my computer, im getting this error:
Fatal error: Function name must be a string in C:\xampp\htdocs\app\class.engine.php on line 48
And my Line 48 on class.enginge looks like this:
$this->connection =...