Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums

Go Back   Code Forums > Application and Web Development > PHP

Reply
 
LinkBack Thread Tools Display Modes
Old 02-12-2005, 06:11 PM   #16 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,446
sde is on a distinguished road
Quote:
Originally Posted by technobard
Ender, any link sent to the original surfer (or others) that is either a) clicked on in an email
well with the exception of webmail. i see webmail links in the codenewbie referer logs a lot.
__________________
Mike
sde is offline   Reply With Quote
Old 02-12-2005, 06:20 PM   #17 (permalink)
technobard
Centurion Nova Prime
 
technobard's Avatar
 
Join Date: May 2002
Location: Oak Park, IL (USA)
Posts: 285
technobard is on a distinguished road
Quote:
Originally Posted by sde
well with the exception of webmail.
Doh! I spend too much time in Mozilla Thunderbird these days. Webmail makes sense.

sde, you actually look at referer logs!? I'm impressed.
__________________
It takes 2 points to draw a straight line, but at least 3 points to draw a conclusion.
technobard is offline   Reply With Quote
Old 02-12-2005, 07:17 PM   #18 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,446
sde is on a distinguished road
i wrote a php class that logs referers. it has a table of search engines and their query var, so if the referer is one of those engines, then the record goes into a 'search' table and it parses the query var and databases the search strings.

last week i wrote a c# windows app that displays the last 10 search strings and what engine it came from. since we get 1 or 2 hits per minute from search engines, it's kind of fun to watch sometimes.

i don't always have this logging feture enabled though since it affects performance a bit.
__________________
Mike
sde is offline   Reply With Quote
Old 02-13-2005, 09:44 AM   #19 (permalink)
idx
Senior Grasshopper
 
idx's Avatar
 
Join Date: Jun 2003
Location: FL
Posts: 317
idx is on a distinguished road
Although someone with nefarious intentions can always fake a referrer. I think the search engine check is good, but that keeps the honest spiders, honest.

Comparing the value of a hashed _something_ on each page seems like a good thing to have. Going further with a request token (as the php security page mentions) is also good, but takes more work.

-r
idx is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 11:03 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting