can I simply ask (since I'm lazy and don't feel like analyzinbg the php on a sunday evening

) what the secret to mapping the IP is....what PHP function/combo of functions? The reason I ask is this has been something that has come up over at SitePoint about how to analayze where an IP is from.....and I have no idea. Thishack would be useful to apply elsewhere in a non-hack place.
Thanks
Aaron