开发者

page view count without file or DB in php and html

Hi开发者_JAVA技巧

Is it possible to show page view count without using file or database to store it?

Thanks


If you're using APC (or some other opcode cache) you can store it in memory. APC Increment would be helpful http://ca.php.net/manual/en/function.apc-inc.php, there's similar features for memcached or other services.

Beyond that, it needs to go somewhere, on disk (in a file or a DB), or in memory. There's no built in persistant store with PHP itself (though many opcode caches provide it).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜