I would like to know the code which can enable me to get a person’s physical address whenever he visits my website . now the code I have is for getting the IP address .
Bellow is the code I would like someone to give me a crew rolling on what I have
$ip=$_SERVER['REMOTE_ADDR'];
you need to get the ip.
use this snippet in php:
once you get the ip you have to compare with a list ip-locations in order to get the location. for getting this list try to google it.