示例#1
0
文件: redis.php 项目: liida/zredis
<?php

$h = new zredis();
$h->connect();
$h->set("key", "val");
echo $h->get("key");
示例#2
0
文件: unix.php 项目: liida/zredis
<?php

$h = new zredis();
$h->connect('/tmp/redis.sock');
$h->set("key", "val");
echo $h->get("key");