The simplest way to get the IP address of client with PHP is using the $_SERVER[‘REMOTE_ADDR’] or $_SERVER[‘REMOTE_HOST’] variables. However, sometimes this does not return the correct IP address of the visitor, so we can use some other server variables...		Read more		
	
		
