function Curl()
{
$url = "https://ahoy.yohoho.online/?cache".rand(100,999);
$headers = [
"Host: ahoy.yohoho.online",
"User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0",
"Accept: application/json, text/javascript, */*; q=0.01",
"Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3",
"Content-Type: application/x-www-form-urlencoded; charset=UTF-8",
"Content-Length: 25",
"Origin: http://galabot.local",
"Connection: keep-alive",
"Referer: http://galabot.local/",
"Pragma: no-cache",
"Cache-Control: no-cache",
"TE: Trailers",
];
$data = "title=dfdf&player=collaps";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
$output = curl_exec($ch);
curl_close($ch);
return $output;
}
echo Curl();