摘要: 之前在学校的时候,只知道session与cookie的区别在于:session是保存在服务器端,cookie保存在客户端。session怎么样保存的?以文件的形式保存。自己去测试过。有的忘记了。对应session的id号模糊不清。在开发中,非常有必要弄明白具体细节。不能停留在使用session_st 阅读全文
posted @ 2011-02-16 23:05 王滔 阅读(46544) 评论(20) 推荐(11) 编辑
摘要: uc中的用到的代码(在api/uc.php)代码:$post = xml_unserialize(file_get_contents('php://input'));php手册(http://cn.php.net/manual/zh/wrappers.php.php)说明: php://input allows you to read raw data from the request body. In case of POST requests, it preferrable to $HTTP_RAW_POST_DATA as it does not depend on special p 阅读全文
posted @ 2011-02-16 22:17 王滔 阅读(9483) 评论(0) 推荐(0) 编辑