$url="https://connect.ok.ru/dk?st.cmd=extLike&uid=odklcnt0&ref=".$_REQUEST["URL"];
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
$result = curl_exec($ch);