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
config_php [2025/03/07 18:52] – [GET IP Method] Changed " to ' to avoid PHP errors 24.251.197.69config_php [2025/06/10 08:09] (current) – [GET IP Method] mention upcoming CF changes (#1222) wrongecho
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.