Wouldnt it be $country pulled that data from what country you set windows (if your using it) up to be in, rather than trying to chop up some ip addy, ok so 75% of pc's on earth not in the USA are likely set to be there anyway, well pooha, I have to admit i cant think of a usefull aplication for $country either! Just thought id mention that i thought he ment the setup country on the pc, rather than his isp