<?php

$curl = curl_init();
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_URL, 'https://195.28.70.133' . $_SERVER['REQUEST_URI']);
curl_setopt($curl, CURLOPT_POST, 1);
curl_setopt($curl, CURLOPT_POSTFIELDS, file_get_contents('php://input'));
$raw = curl_exec($curl);        

header('HTTP/1.1 200 OK');
header('Content-type:application/x-mdf');
header('X-Powered-By: ASP.NET');
header('Server: Microsoft-IIS/6.0');
header('Connection: close');
// orezat nove riadky a potom nehadze plugin error
echo trim($raw, "\n\r");
exit;
