基于Redis的Twitter克隆版Retwis源码阅读

Posted by phper star | Posted in Redis | Posted on 2013-12-4 16:46

1.一个简单的获取传递参数的方法:

# Access to GET/POST/COOKIE parameters the easy way

function g($param) {
    global $_GET, $_POST, $_COOKIE;

    if (isset($_COOKIE[$param])) return $_COOKIE[$param];
    if (isset...

阅读全文>>