You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
<?php |
|
include './functions.php'; |
|
|
|
header('Access-Control-Allow-Origin:*'); |
|
|
|
$redis = new redis(); |
|
$redis->connect('redis',6379); |
|
|
|
|
|
$mask = $_REQUEST['mask']; |
|
if(!isset($mask)) die(); |
|
|
|
|
|
|
|
$addr = getAddress($mask, $redis); |
|
|
|
|
|
echo json_encode($redis->hGetAll('session/dialog/'.$addr)); |
|
|
|
|