start.php в нем я должен отправить POST запрос содержащий массив в файл script.phparray(4) {
  [0]=>
  array(2) {
    ["Id"]=>
    string(6) "156125"
    ["TEST"]=>
    string(15) "1234"
  }
  [1]=>
  array(2) {
    ["Id"]=>
    string(6) "156126"
    ["TEST"]=>
    string(15) "1234"
  }
  [2]=>
  array(2) {
    ["Id"]=>
    string(6) "156127"
    ["TEST"]=>
    string(15) "1234"
  }
  [3]=>
  array(2) {
    ["Id"]=>
    string(6) "156128"
    ["TEST"]=>
    string(15) "1234"
  }
}start.php не ждал пока в файле script.php завершит свои действия которые могут выполняться в течении 20-30 секунд).// Input
$data = extract($_POST);
// Output
$url = 'http://api.example.com';
$data = array('foo' => 'bar');
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
$result = curl_exec($ch);
curl_close($ch);curl_setopt($ch, CURLOPT_TIMEOUT, 1);fastcgi_finish_request();function wbAuthPostContents($url, $post=null, $username=null,$password=null) {
	if (func_num_args()==3) {
		$password=$username;
		$username=$get;
		$post=array();
	}
	if (!is_array($post)) $post=(array)$post;
    $cred = sprintf('Authorization: Basic %s', base64_encode("$username:$password") );
    $post=http_build_query($post);
    $opts = array(
                'http'=>array(
                    'method'=>'POST',
                    'header'=>$cred,
                    'content'=>$post
                )
            );
    $context = stream_context_create($opts);
    $result = file_get_contents($url, false, $context);
    return $result;
}