Total Pageviews

Tuesday, January 17, 2012

PHP script to Find out IP address

You can get the IP address of any visitor by using PHP.

$ip=$_SERVER['REMOTE_ADDR'];
echo "<b>IP Address= $ip</b>"; 

No comments:

Post a Comment