Hey Get the Visitor IP Address using Php Script.Just use below code for it.
The Code :
$ip = $_SERVER['REMOTE_ADDR'];
OR
$ip= $REMOTE_ADDR;
Here is sample code:
<?
$ip= $REMOTE_ADDR;
echo "<br> Your IP address : " . $ip;
echo "<br> Your hostname : " . GetHostByName($ip);
?>

No comments:
Post a Comment
Thanks....