I would simply like to get referring page keywords from:
HTTP_REFERER
ie. If referrer is:
http://search.yahoo.com/bin/search?p=search+keywords
OR
http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=other+keywords
How do I get just the "search keywords" OR "other keywords" parts?
I have the referring pages stored in a 'stats' MySQL database and would like to extract the keywords from the URLs stored there, but I am willing to add a 'keywords' row and start entering just the keywords in it if I have to.