Unveils real client ip hidden by Incapusla proxy and cdn service. Ip spoofing protection checks the remote addr against allowed incapsulas IP list
This software is distributed under the BSD Licence. You can do whatever you want.
Execute the method FixRemoteAddrInServerArray
it will update the passed _SERVER array with correct remote addr only if the request is coming through incapsula
(new \Intval\IncapsulaIpFixer($_SERVER))->FixRemoteAddrInServerArray();
GetClientIp()
returns real clients ip behind incapsula proxy