The code below will get the IP information for a visitor to your site:
<?php
$ip = getenv("REMOTE_ADDR") ;
Echo "Your IP is " . $ip;
?>
By Angela Bradley, About.com Guide
The code below will get the IP information for a visitor to your site:
<?php
$ip = getenv("REMOTE_ADDR") ;
Echo "Your IP is " . $ip;
?>