meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
config_php [2025/03/07 18:52] – [GET IP Method] Changed " to ' to avoid PHP errors 24.251.197.69config_php [2025/09/22 23:09] (current) – [GET IP Method] johnny
Line 42: Line 42:
   * ''DEFINE('CONST_GET_IP_METHOD', 'HTTP_X_FORWARDED_FOR');''   * ''DEFINE('CONST_GET_IP_METHOD', 'HTTP_X_FORWARDED_FOR');''
 By default, ITFlow will retrieve IP addresses using PHP's //REMOTE_ADDR//. If you are using a reverse-proxy, you'll need to configure ITFlow to use the //Forwarded For// header instead. By default, ITFlow will retrieve IP addresses using PHP's //REMOTE_ADDR//. If you are using a reverse-proxy, you'll need to configure ITFlow to use the //Forwarded For// header instead.
 +
 +From 25.06 onwards, if you are using Cloudflare, you will need to specify HTTP_CF_CONNECTING_IP instead.
 +
 +===== Display Errors (For Development / Testing Purposes) =====
 +
 +  * ''ini_set('display_errors', 1);''
 +  * ''ini_set('display_startup_errors', 1);''
 +  * ''error_reporting(E_ALL);''