<?php 
$no=$_POST['nomper'];
$te=$_POST['telfijo'];
$co=$_POST['correo'];
$dn=$_POST['dni'];
$ce=$_POST['celrpm'];
$cp=$_POST['celrpc'];
$tl=$_POST['telofici'];

$dat = array("nomper"=>$no,"telfijo"=>$te,"correo"=>$co,"dni"=>$dn,"celrpm"=>$ce,"celrpc"=>$cp,"telofici"=>$tl);
$str = http_build_query($dat);
$url = curl_init("http://softwaremelissa.com/core/registrarPersona.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);
