<?php
$referring_URL = $_SERVER['HTTP_REFERER'];
?>
This is fine, but it's sent/set by the browser, so it can be faked and isn't infallible. But if inaccuracy isn't a problem (and you're not relying on the referring URL as an authentication) then it should be okay.
Also, it's the only one I can think of.
I'm not sure if it requires the user to follow a link to work, or if an http redirect (or however you're pointing to the same domain) would work.
Edited in response to comments by OP:
...for instance, i tried javascript location.href but it still shows mysite.com url even though the user's browser window has either .co.nr or .tk domain
It might be worth echoing out all the variables available to PHP, and seeing if anything there looks like the value that you're after, it's not infallible and any variable/value may change in future versions of php or be specific to your particular set-up, but this should at least show you the available options:
<?php echo "<pre>" . print_r(get_defined_vars(),true) . "</pre>"; ?>
Obviously, don't leave that on your page for longer than necessary, but the URL you're looking for might be in there somewhere.