Не могу считать содержимое POST
Не могу считать содержимое POST, вот что должно получиться:
95c02399006bc0aa15685528d6e3df2c${"cmd":"EVT","id":"13488","events":[{"type":"playersInfo"}]}
Вот мой код на PHP, пишу на DevelStudio
$post = array();
$memo = c("memo1");
$tmp_ch = curl_init('http://98.43.80.70/twist/go');
curl_setopt($tmp_ch, CURLOPT_HEADER, true);
curl_setopt($tmp_ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($tmp_ch, CURLOPT_COOKIEFILE, 'cookie.txt');
curl_setopt($tmp_ch,CURLOPT_COOKIEJAR, 'cookie.txt');
curl_setopt($tmp_ch, CURLOPT_NOBODY, true);
curl_setopt($tmp_ch, CURLOPT_POSTFIELDS,$post);
$xx = curl_exec($tmp_ch);
curl_close($tmp_ch);
$memo->text = $xx;
в куки ничего не пишет, а выводит ошибку :
{"cmd":"ERR","msg":"empty packet"}