Im having a trouble understanding this instruction, can you help me guys figure it out?

http://admin.wechat.com/wiki/index.php?title=Create

	<?php


$data[] = '772134292672v';
$data[] = $_GET['timestamp'];
$data[] = $_GET['nonce'];


asort($data);

$strData = '';
$d = '';
$authString = '';
foreach($data as $d)
{
$authString .= $d;

}

//verify the signature
if(sha1($authString) == $_GET['signature'])
{
//check the echostr
if(!empty($_GET['echostr']))
{
echo $_GET['echostr'];
die();
}
else
{

//logic

$return = "<xml>
<ToUserName><![CDATA['.$toUser.']]</ToUserName>
<FromUserName><![CDATA['.$fromUser.']]</FromUserName>
<CreateTime>'.time.'</CreateTime>
<MsgType><![CDATA[text]]></MsgType>
<Content><![CDATA['.text.']]</Content>
<FuncFlag>0</FuncFlag>
</xml>";
echo $return;

}
}
else

{
die('Access Denied');
}

?>

Im done connection to their server but I have no idea where to put these stuffs to enable the menu tabs.

HTTP request method: POST (Use Https protocol) https://api.wechat.com/cgi-bin/menu/create?access_token=ACCESS_TOKEN

{
"button":[
{
"type":"click",
"name":"Daily Song",
"key":"V1001_TODAY_MUSIC"
},
{
"type":"click",
"name":" Artist Profile",
"key":"V1001_TODAY_SINGER"
},
{
"name":"Menu",
"sub_button":[
{
"type":"view",
"name":"Search",
"url":"http://www.soso.com/"
},
{
"type":"view",
"name":"Video",
"url":"http://v.qq.com/"
},
{
"type":"click",
"name":"Like us",
"key":"V1001_GOOD"
}]
}]
}