Anonymous User Counter for Viewing Images
<p>I'm just starting with PHP. I'm currently building a site that will allow anonymous users to view images ten times a day. Any image viewed will increase the counter as well viewing a certain image more than once. Viewing more than the counter limit per day will not be allowed unless they register.</p>

<p>Just wondering what can I do with sessions and the database in order to make this possible. Also, how can I reset the counters in every 24 hours?</p>

<p>Sample codes would be much appreciated. Thanks.</p>

<p>BTW, I'm using kohana 3.</p>
