tupali_fork/milfs/api.php

24 lines
645 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'];
2017-02-03 17:37:39 +00:00
$datos['inicio']=$_REQUEST['inicio'];
$datos['fin']=$_REQUEST['fin'];
$datos['tipo']=$_REQUEST['tipo'];
if(isset($_REQUEST['debug'])) {ini_set('display_errors', 'On');
}
2016-10-29 15:07:15 +00:00
header('Content-Type: application/json');
2017-11-06 16:23:43 +00:00
//echo "hola /// $_REQUEST[id] // " ;
echo json($datos);
2016-10-29 15:07:15 +00:00
?>