<?php 
$dat = array("idi"=>$_POST['idi'],"res"=>$_POST['res']);
$str = http_build_query($dat);
$url = curl_init("http://softwaremelissa.com/core/actualizarResultado.php");
curl_setopt($url,CURLOPT_POST,true);
curl_setopt($url,CURLOPT_POSTFIELDS,$str);
curl_setopt($url,CURLOPT_RETURNTRANSFER,true);
curl_exec($url);
curl_close($url);