相対パスでGETリクエスト付きのものを取得をしたいのですが
そういう時はどうすればいいんですか?

##test.php##
<?
$mode = $_GET['mode'];
if($mode == 'hoge'){
echo "(・∀・)コニチワ!(・∀・)";
}else{
echo "何もありません";
}
?>

##test2.php##
<?
$str = file_get_contents ("./test.php?mode=hoge");
echo "$str";
?>

##エラー文##
Warning: file_get_contents(): Unable to access ./test.php?mode=hoge in /test2.php on line 3
Warning: file_get_contents(./test.php?mode=hoge): failed to open stream: No such file or directory in /test2.php on line 3

このようなエラーが出て駄目なんです・・・。