How to get the IP address of the visitor with PHP?

Started by admin, November 30, 2007, 06:17:29 AM

Previous topic - Next topic

admin

This will show the IP address of the visitor. 
     
<?php 
   echo $_SERVER['REMOTE_ADDR']; 
?>