L PROTECTED]>
Sent: Saturday, February 15, 2003 6:08 AM
Subject: [PHP] How to check for refresh in PHP
>
> Hi,
>
> I have a news site where i want to track how many "visits" or reads each
> individual news has. I have a main list with all the titles, then clicking
>
Not really that simple.
You can't use the HTTP_REFERER, because it's not set when the user refreshes
(at least on my browser, so at best it will be unreliable).
Common ways to prevent such things happening (like voting for a pic or song
or poll more than once) are usually done with either:
1. lo
Hi,
I have a news site where i want to track how many "visits" or reads each
individual news has. I have a main list with all the titles, then clicking
on them shows the details of the specific news, only then the counter for
that particular news is increased. The problem is, if the user do
3 matches
Mail list logo