zapros = get("https://api.vk.com/method/groups.getLongPollServer?group_id={0}&access_token={1}&v={2}".format(mygroupid,secret_token,'5.95'))
$queryUrl = 'https://api.vk.com/method/groups.getLongPollServer';
$queryData = http_build_query(array(
"group_id" =>123,
"access_token"=>321,
"access_token"=> 333
));
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_SSL_VERIFYPEER => 0,
CURLOPT_POST => 0,
CURLOPT_HEADER => 0,
CURLOPT_RETURNTRANSFER => 1,
CURLOPT_URL => $queryUrl,
CURLOPT_POSTFIELDS => $queryData,
));
$result = curl_exec($curl);
curl_close($curl);