page view count without file or DB in php and html
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).
精彩评论