Say referral is http://www.bing.com/videos/search?q=vikipedi&qs=AS&docid=960129859646&mid=ABB287F3E3EBF6F0B977ABB287F3E3EBF6F0B977&FORM=VIVR16
Then the query is vikipedi
Is there a standardized program to do that?
use parse_str() and extract the q...