$ _GET пуст, когда в URL есть переменные

У меня есть URL, который выглядит такreg.php?lang=no_NO&passkey=testи я пытаюсь получить переменную passkey, но она продолжает показываться пустой.

Когда я пытаюсьprint_r($_GET); это печатаетArray ( ) ?! Как это может случиться?

Сайт выглядит примерно так

    <?php

        print_r($_GET); 

        include('..\libs\Smarty.class.php');
    ?>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Activate account</title>

(...html code.. )

$smarty = new Smarty;

//$smarty->force_compile = true;
$smarty->debugging = false;
$smarty->caching = false;
$smarty->cache_lifetime = 120;


// PHP gettext api
define('PROJECT_DIR', realpath('./'));

(... define gettext ... )

$passkey=$_GET['passkey'];

(...work with passkey ...)

$smarty->display('templates\site.tpl');

?>


</body>
</html>

вот и все. Я не могу понять, почему $ _GET отображается пустым. Это сводит меня с ума некоторое время сейчас ..

Ответы на вопрос(3)

Ваш ответ на вопрос