title: How to get browser url in PHP?
body: <p>I need to access the current browser uri which is something like <a href="http://www.example.com/page/some-page/" rel="nofollow noreferrer">www.example.com/page/some-page/</a> . This is a rewritten url using .htaccess.</p>
  <p>I have used the <code>$_SERVER[&quot;REQUEST_URI&quot;]</code>. but it returns the page.php instead of /page/some-page/.</p>
  <p>How do I get the browser uri at server side?</p>