tupali/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'];
$datos['inicio']=$_REQUEST['inicio'];
$datos['fin']=$_REQUEST['fin'];
$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);
?>