摘要: ``` php connect('127.0.0.1', 6379); $watchkey = $redis->get("watchkey"); $rob_total = 10; if($watchkeywatch("watchkey"); $redis->multi(); $redis->hSet("watchlist","user_id_".mt_rand(1, ... 阅读全文
posted @ 2016-06-09 23:11 AlphaSnow 阅读(349) 评论(0) 推荐(0)
摘要: 编译系统PHP { "cmd": ["D:\\Upupw\\PHP5\\php.exe", "$file"], "file_regex": "php$", "selector":"source.php" } 命名为php.sublime build,保存在C:\Documents and Setti 阅读全文
posted @ 2016-06-09 22:57 AlphaSnow 阅读(93) 评论(0) 推荐(0)
摘要: RewriteEngine On 防盗链demo.com RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !baidu\.com [NC] RewriteCond %{HTTP_REFERER} !so\.com [NC] Re 阅读全文
posted @ 2016-06-09 16:25 AlphaSnow 阅读(116) 评论(0) 推荐(0)
摘要: 快捷输出变量 模版输出 阅读全文
posted @ 2014-07-11 23:30 AlphaSnow 阅读(127) 评论(0) 推荐(0)