[nycphp-talk] Safest and best way to get the referer

Joseph Crawford codebowl at
Wed Jan 31 11:32:38 EST 2007

Thanks guys,

I figured as much ;)

Currently i have it so that every site has a site key, when they pass
that into the spy.php it will get the stored domain from the db and
return results only for that domain.

I was trying to take it a step furthur and make sure the request was
coming from the stored domain so that i couldnt call spy.php with say
microsoft's key and get their results.

I figure though we are talking about browser stats who would want to
put another sites stats on their site :D

Thanks Again,
Joseph Crawford Jr.
Zend Certified Engineer
Codebowl Solutions, Inc.
codebowl at

More information about the talk mailing list