标签:log close htm class pre connect blog eset amp
<?php header(‘content-type:text/html;chaeset=utf-8‘); /** * redis实战 * * 发布 * * @example php publish.php */ //发布 $redis = new \Redis(); $redis->connect(‘127.0.0.1‘, 6379); $redis->publish(‘msg‘, ‘来自msg频道的推送‘); echo "msg频道消息推送成功~ \n"; $redis->close(); ?>
标签:log close htm class pre connect blog eset amp
原文地址:http://www.cnblogs.com/GreenForestQuan/p/7492133.html