Dev Shed Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherDev Shed Lounge

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 27th, 2003, 04:00 PM
jtoddv jtoddv is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 15 jtoddv User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 17 m 37 sec
Reputation Power: 0
Best Gatherer of Referring URLs

Which programming language is the most accurate at gathering referring URLs?

I am trying to develop a program that relies heavily on gathering the exact referring URL, and there is no room for error. I have heard that many systems are only 90-95% correct when gathering this information.

Which route should I take?

Thanks in advance,
Justin

Reply With Quote
  #2  
Old June 27th, 2003, 04:06 PM
Onslaught's Avatar
Onslaught Onslaught is offline
/(bb|[^b]{2})/
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2001
Location: Somewhere in the great unknown
Posts: 4,840 Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 2 Days 27 m 47 sec
Reputation Power: 88
Send a message via ICQ to Onslaught
The referring URL is unreliable not because of any one particular language, but because not all browsers set this and they can be turned on/off on most modern browsers. It doesn't really matter with the system, it matters with the browser and user.

Reply With Quote
  #3  
Old June 27th, 2003, 04:16 PM
jtoddv jtoddv is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 15 jtoddv User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 17 m 37 sec
Reputation Power: 0
Thanks for the speedy response.

Okay, for example, what you are saying is that whenever I request the referral info using PHP through $_SERVER['HTTP_REFERER'] , the server is actually getting the referral information from the surfers web browser?

Justin

Reply With Quote
  #4  
Old June 27th, 2003, 04:29 PM
Onslaught's Avatar
Onslaught Onslaught is offline
/(bb|[^b]{2})/
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2001
Location: Somewhere in the great unknown
Posts: 4,840 Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 2 Days 27 m 47 sec
Reputation Power: 88
Send a message via ICQ to Onslaught
yes

Reply With Quote
  #5  
Old June 27th, 2003, 09:23 PM
icrf's Avatar
icrf icrf is offline
Perl Monkey
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: May 2003
Location: the far end of town where the Grickle-grass grows
Posts: 1,856 icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 10 h 28 m 31 sec
Reputation Power: 103
Send a message via AIM to icrf
I rarely read somethingawful.com, but I like the stories I hear about its admins. If you try and direct-link to a picture, it sends you a very different (and disgusting) picture instead for stealing the site's bandwidth. When something on the site got slashdotted, they redirected anyone coming from slashdot to goatse.cx (if you haven't been there, don't...I'm serious, don't say I didn't warn you).

These kinds of things are done with referrer logging, and since it can be turned off or faked, are utterly undependable. Use of it is better suited for things that don't really matter at all, like playing dirty tricks on unsuspecting users that access your site in ways you didn't intend.

Reply With Quote
  #6  
Old June 28th, 2003, 08:32 AM
nao's Avatar
nao nao is offline
junior vice president
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Location: Springfield
Posts: 251 nao User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Unhappy my lord...

Jesus... that's one bad [A]ss picture. OOPS! Excuse the pun!

Quote:
like playing dirty tricks on unsuspecting users that access your site in ways you didn't intend.

But, be careful, since it's unreliable, you might be sending a genunine visitor to the wrong site!

...would be a funny gag to play on your employer's website if you knew you were about to be fired... hide it in the code somewhere... anybody visiting from [COMPETITOR'S URL HERE] will get sent to goatse.cx!


Reply With Quote
  #7  
Old June 28th, 2003, 07:47 PM
icrf's Avatar
icrf icrf is offline
Perl Monkey
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: May 2003
Location: the far end of town where the Grickle-grass grows
Posts: 1,856 icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 10 h 28 m 31 sec
Reputation Power: 103
Send a message via AIM to icrf
If you've ever read somethingawful, I don't think its patrons would be too offended at ending up there. It's not my wallpaper or anything (ugh...) but it's not far off the average tastes of Jeff K's rants.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDev Shed Lounge > Best Gatherer of Referring URLs


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway