Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 09-02-2014, 02:16 PM   #1
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Php referrer vs server log referrer

Did anyone noticed how those two does not match 100% ? Perhaps instead using php server referrer variable would be better to read referrer directly from server log ?
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-02-2014, 02:46 PM   #2
nm_
Confirmed User
 
Industry Role:
Join Date: May 2011
Location: San Diego
Posts: 328
getting referrer from $_SERVER var has always been really inaccurate. I wouldn't trust it for anything serious at all

parsing server logs are your best bet ;]
nm_ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-02-2014, 02:47 PM   #3
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Quote:
Originally Posted by nm_ View Post
getting referrer from $_SERVER var has always been really inaccurate. I wouldn't trust it for anything serious at all

parsing server logs are your best bet ;]
Yeah i'l just make a custom log which will write only referrer and then parse it with php.
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-02-2014, 11:39 PM   #4
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,229
Since it's the browser sending the referrer to begin with, I would say they will return the same result...
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-03-2014, 01:23 AM   #5
CHMOD
Confirmed User
 
CHMOD's Avatar
 
Join Date: Jun 2003
Posts: 1,697
Quote:
Originally Posted by k0nr4d View Post
Since it's the browser sending the referrer to begin with, I would say they will return the same result...

Correct however, stats are always tricky. Put 2 counters on your page and they will not return the exact same stats although they use the same technology...
__________________
Sell our Silicone Dolls and make big money!

Our website:
https://www.sexdolls-shop.com/

Signup:
http://www.sexdollscash.com/sliiing/registration.php

Contact:
[email protected]
CHMOD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-03-2014, 02:03 AM   #6
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Quote:
Originally Posted by CHMOD View Post
Correct however, stats are always tricky. Put 2 counters on your page and they will not return the exact same stats although they use the same technology...
Well most of counters are php based and since they are using this server refferer which is obviously unreliable,better to read server log.Piwik counter does that.
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.