title: How to get full URL on the address bar using PHP
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/967649/get-entire-url-including-query-string-and-anchor">Get entire URL, including query string and anchor</a>  </p>
  </blockquote>
  
  
  
  <p>I have my url like <em>www.domain.com/#!/username</em> (just like in twitter).</p>
  
  <p>How can I retrieve the full URL (the whole string above) including the substring after '#!' in the address using PHP or Javascript??</p>