Skip to content

Instantly share code, notes, and snippets.

View adnankussair's full-sized avatar
👋

Adnan Kussair (AK) adnankussair

👋
View GitHub Profile
<?php
$country_code = $_SERVER ["HTTP_CF_IPCOUNTRY"];
if ($country_code=="US") {
$link = 'http://us.domain.com';
}
else if ($country_code=="GB") {
$link = 'http://uk.domain.com';
}