On 11-Jul-01 Henrik Hansen wrote:
> [EMAIL PROTECTED] (Jack) wrote:
>
> > 1. (*) text/plain
> >
> > Dear folks I was told that http referer can tell me where the user
> > come from. But it does not work all the time, is there anything else
> > that work better than this? Jack [EMAIL PROTECTED] "Love your
>
> I should work if the user have a referer, a user has only a referer if
> the user comes from another page to your page, because it dont work
> might be because the user entered your page directly?
>
>
You wont get a referer on:
1. Header redirect
2. Direct entry (as above)
3. anonymous proxy filters out the headers
4. user install "Privacy-protect" software
5. The browser doesn't support it.
>From one of my larger sites:
mysql> select count(*) from stat;
+----------+
| count(*) |
+----------+
| 1391545 |
+----------+
1 row in set (0.00 sec)
mysql> select count(*) from stat where urlid=5343192248684061102;
+----------+
| count(*) |
+----------+
| 348162 |
+----------+
1 row in set (1.69 sec)
mysql> select (348162 / 1391545) *100.0;
+---------------------------+
| (348162 / 1391545) *100.0 |
+---------------------------+
| 25.02 |
+---------------------------+
1 row in set (0.00 sec)
mysql> select conv(PASSWORD('[NO REFERRING URL]'),16,10);
+--------------------------------------------+
| conv(PASSWORD('[NO REFERRING URL]'),16,10) |
+--------------------------------------------+
| 5343192248684061102 |
+--------------------------------------------+
1 row in set (0.00 sec)
So 25% of my traffic is not sending HTTP_REFERER ...
YMMV.
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]