Merlin wrote:
Hi there,
I am serving certain parts of my page only to specific countries
(geotargeted advertisement). Now I am wondering how I could check how
the page looks like from that country wihout traveling there :-) Is
there a way to "fool" the system that one is in US instead of Germany?
Thanx for any advice,
Merlin
You need to get around the way you find out the country, for example:
if(DEBUG && isset($_GET['country'])) {
$country = $_GET['country'];
} else {
$country = get_country_from_ip($_SERVER['REMOTE_ADDR']);
}
Hope this code makes it clear ;-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php