title: How to get full referrer url in php
body: <p>I want to get full referrer url in PHP.
  For instance, if I come to mywebsite from a google search, <strong><code>$_SERVER['REFERER']</code></strong> gives me only www.google.com, but I want smth like www.google.com/search?q=KEYWORD </p>
  
  <p>Google Analytics provides that for many search engines. 
  I need to get "<strong>/search?q=KEYWORD</strong>" query string.</p>