tupali_fork/milfs/api.php

26 lines
713 B
PHP
Raw Normal View History

2016-10-29 15:07:15 +00:00
<?php
session_start();
//ini_set('display_errors', 'On');
2016-11-24 16:34:52 +00:00
2016-10-29 15:07:15 +00:00
require ('xajax/xajax.inc.php');
$xajax = new xajax();
require ('funciones/funciones.php');
require ('funciones/convert.php');
require ("includes/markdown.php");
require ("funciones/conex.php");
2017-02-03 17:37:39 +00:00
$datos['id']=$_REQUEST['id'];
$datos['identificador']=$_REQUEST['identificador'];
$datos['dato']=$_REQUEST['dato'];
$datos['inicio']=$_REQUEST['inicio'];
2017-10-18 21:16:07 +00:00
$datos['start']=$_REQUEST['start'];
2017-02-03 17:37:39 +00:00
$datos['fin']=$_REQUEST['fin'];
2017-10-18 21:16:07 +00:00
$datos['end']=$_REQUEST['end'];
2017-02-03 17:37:39 +00:00
$datos['tipo']=$_REQUEST['tipo'];
2016-11-24 16:34:52 +00:00
if(isset($_REQUEST['debug'])) {ini_set('display_errors', 'On');
}
2016-10-29 15:07:15 +00:00
header('Content-Type: application/json');
2017-02-03 17:37:39 +00:00
//echo "hola /// $_REQUEST[id] // " ;
2016-10-29 15:07:15 +00:00
echo json($datos);
?>