SMMP/public_html/test/ajaxTest.php

13 lines
289 B
PHP
Raw Permalink Normal View History

2016-07-02 15:10:41 +00:00
<?php define('__ROOT__', dirname(dirname(__FILE__)) );
2016-10-18 14:03:03 +00:00
require_once __ROOT__.'/autoloader.php';
2016-07-02 15:10:41 +00:00
debug();
// DEFAULT SESSION CREDENTIALS
echo '{"data1": "'.session_id().'"}';
// echo '"data2": "'. ( $_SESSION['session_token']==$_COOKIE['session_token'] ? 'YES' : 'NO' ). '"}';
2016-07-02 15:10:41 +00:00
?>