Hello!

I wrote simple script which gets referer header (if sent) and looks for google keywords (and then highlight them). All works fine, when I have JavaScript turned OFF for Google (NoScript), otherwise there's always "http://google.com" in referer because of hashmark used to handle 'old' GET vars.

Is there any other possibility to get this data than fetching it from referer header string (which is not always sent, and when it's - most users use JS with Google)?

Thanks for any help!

Marcus

PS DaniWeb.com made it somehow :D

The http referrer information is not very accurate and is best to ignore whenever possible. Why are you trying to get the referrer information because perhaps there is a better way of doing the job such as sessions.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.