public function Genxml() { $oUbicacionMod = new UbicacionMod(); $CelularBBID = $_SESSION["sCelID"]; $FechaMax = '9999-99-99'; $FechaMin = '0000-00-00'; //if(isset($_GET["FechaMax"])) $FechaMax = $_GET["FechaMax"]; //if(isset($_GET["FechaMin"])) $FechaMin = $_GET["FechaMin"]; header('Content-type: text/xml; charset=iso-8859-1'); echo $oUbicacionMod->XMLUbicacion($CelularBBID, $FechaMax, $FechaMin); }