Class FOFUtilsIp
IP address utilities
		Abstract
Package: FrameworkOnFramework\utils
Copyright: Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved.
License: General Public License version 2 or later; see LICENSE.txt
Located at fof/utils/ip/ip.php
	
		Package: FrameworkOnFramework\utils
Copyright: Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved.
License: General Public License version 2 or later; see LICENSE.txt
Located at fof/utils/ip/ip.php
Methods summary
| 
				 public static
				string
				
				 | |
| 
				 public static
				
				
				 | |
| 
				 public static
				boolean
				
				 | |
| 
				 public static
				null|boolean
				
				 | |
| 
				 public static
				
				
				 | |
| 
				 public static
				
				
				 | 
			#
			 setAllowIpOverrides( boolean $newState )Should I allow the remote client's IP to be overridden by an X-Forwarded-For or Client-Ip HTTP header? | 
| 
				 protected static
				string
				
				 | 
			#
			 detectAndCleanIP( )Gets the visitor's IP address. Automatically handles reverse proxies reporting the IPs of intermediate devices, like load balancers. Examples: https://www.akeebabackup.com/support/admin-tools/13743-double-ip-adresses-in-security-exception-log-warnings.html http://stackoverflow.com/questions/2422395/why-is-request-envremote-addr-returning-two-ips The solution used is assuming that the last IP address is the external one. | 
| 
				 protected static
				string
				
				 | |
| 
				 protected static
				string
				
				 | |
| 
				 protected static
				boolean
				
				 | 
			#
			 checkIPv6CIDR( string $ip, string $cidrnet )Checks if an IPv6 address $ip is part of the IPv6 CIDR block $cidrnet | 
Magic methods summary
Properties summary
| 
				protected static 
				string
			 | $ip | 
				#
				 The IP address of the current visitor | 
| 
				protected static 
				boolean
			 | $allowIpOverrides | 
				#
				 Should I allow IP overrides through X-Forwarded-For or Client-Ip HTTP headers? | 
