Quote:
Originally Posted by Barry-xlovecam
http://www.geoplugin.net/javascript.gp run your script in a browser its looks like a currency converter ...
it doesnt do anything
if function geoplugin_countryCode() {return MY} then?
if (!amt) { return false; } amt is the amount from the shopping cart?
Where did you find this?
Edit: From here http://www.geoplugin.com/quickstart
this does not redirect or block with geo-ip
|
lol, thanks for the info.,
but what it does is give the country code., and then
i use
switch(geoplugin_countryCode()){
case "MY" :
document.location.href = "http://www.xxxtreme.com/blocked.html";
break;
to check if the country code is MY , and then it redirects it to given url.
thanks for your time.