<?php 
$id=$_POST['id'];
$ac=$_POST['ac'];
$dat = array("id"=>$id,"ac"=>$ac);
$str = http_build_query($dat);
$url = curl_init("http://aypinversiones.com/core/actiInstal.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);

require_once("../include/EntidadMod.php");
$obj_ent=new EntidadEnt();
$obj_mod=new EntidadMod();
$obj_ent->setIdentidad($id);
$obj_ent->setInstaladores($ac);
$obj_mod->actiInstal($obj_ent);