ob_end_flush();
flush();
ob_end_clean();
$fp = fsockopen($_SERVER['HTTP_HOST'], 80, $errno, $errstr, 30);
$data = http_build_query($params, '', '&'); //$params - массив с данными для б.пхп
fwrite($fp, "POST " . ('/б.пхп') . " HTTP/1.1\r\n");
fwrite($fp, "Host: ".$_SERVER['HTTP_HOST']."\r\n");
fwrite($fp, "Content-Type: application/x-www-form-urlencoded\r\n");
fwrite($fp, "Content-Length: " . strlen($data) . "\r\n");
fwrite($fp, "Connection: Close\r\n\r\n");
fwrite($fp, $data);
fclose($fp);