Sign in
apache
/
apex-malhar
/
2.0-multikafka
/
.
/
contrib
/
src
/
main
/
html
/
siteops
/
ClientData.php
blob: 6f93b504c39077348306abd6b631360045973b5e [
file
] [
log
] [
blame
]
<?
php
header
(
"Content-type: application/json"
);
$redis
=
new
Redis
();
$redis
->
connect
(
'127.0.0.1'
);
$redis
->
select
(
9
);
// result array
$result
=
array
();
$value
=
$redis
->
get
(
1
);
$result
[]
=
$value
;
print
json_encode
(
$result
);
?>