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/01/09 16:51] – mention develop branch wrongechoconfig_php [2025/09/22 23:09] (current) – [GET IP Method] johnny
Line 40: Line 40:
 ===== GET IP Method ===== ===== GET IP Method =====
  //(Not configured by default)//  //(Not configured by default)//
-  * ''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);''