Page 1 of 1

Referring URL ?

Posted: Mon Apr 25, 2005 3:06 pm
by Death
Hi guys,

When people link my site I have them link to MySite.com/incoming/ and just redirect to my main page.

Well, now I want to start counting those hits. I guess I should see where the hit is coming from then see if I have a database entry for it, does that sound about right ? How do I know where the hit came from ? I really don't want to use a link code for the guys linking me.

Any ideas would be appreciated.

Take care.

Posted: Mon Apr 25, 2005 5:00 pm
by anthony88guy
In your Cpanel you should be able to see where most people come from. I believe other browsers (firefox, opera) block that sort of stuff, so you wont get to see where everyone is coming from.

I have to go to Web/FTP Stats -> Referrers, hope this helps any.

Posted: Mon Apr 25, 2005 7:16 pm
by Chris Corbyn

Code: Select all

$_SERVER['HTTP_REFERER'];

Posted: Mon Apr 25, 2005 7:48 pm
by John Cartwright
d11wtq wrote:

Code: Select all

$_SERVER['HTTP_REFERER'];
Which is an optional header sent by the browser, do not count on its existance.