sad1sm0
10-27-2008, 07:38 AM
I have built myself a small tracking script that logs link activity so I can see where people are going on my site. For some reason, every so often it shows a 404 hit, even when no 404 error is displayed. I don't have any dead links on my site and I never see the hit, so I don't know where it could be coming from I'm using the server variables PHP_SELF as the name of the page visited and HTTP_REFERER as the link page. When a hit for 404 shows up, it shows up as 2 hits. 1 to the correct target, and then 1 to the 404 page. When I click another link the referer is not 404, but the page I was on. Any help on this issue would be appreciated. I need to only log valid 404's so this is a bit of a problem. Thanks in advance.