<?php 

// Damit die bestehenden Tore weiterhin funktionieren 
// schleifen wir Anfragen an die alte checktor.php3 an 
// die neue URL weiter
$siteid = (int) $_REQUEST['siteid'];
$country = strip_tags($_REQUEST['country']);

$link = 'http://' . $_SERVER['SERVER_NAME'] . '/checktor.php?' . $_SERVER['QUERY_STRING'];

header("Location: {$link}");

exit;

?>