21 lines
562 B
PHP
21 lines
562 B
PHP
<?php header('Content-type: application/json');
|
|
if ( !defined('PATHTOINCLUDES') ) define('PATHTOINCLUDES', $_SERVER["DOCUMENT_ROOT"] . '/wall/include/');
|
|
include(PATHTOINCLUDES."base.php");
|
|
date_default_timezone_set("America/Phoenix");
|
|
|
|
if(!isset($_SESSION["nuclicks"])){$_SESSION["nuclicks"]=1;} else {$_SESSION["nuclicks"]=$_SESSION["nuclicks"]+1;}
|
|
if(!isset($_SESSION["leotime"]))
|
|
{
|
|
$_SESSION["leotime"]=time();
|
|
}
|
|
|
|
$timeperiod=time()-$_SESSION["leotime"];
|
|
|
|
$em="";
|
|
|
|
|
|
$em="a test";
|
|
|
|
$arr = array ('theerror' => $_GET["userid"]);
|
|
echo json_encode($arr);
|
|
?>
|