I need to access the current browser uri which is something like www.example.com/page/some-page/ . This is a rewritten url using .htaccess.
I have used the $_SERVER["REQUEST_URI"]
. but it returns the page.php instead of /page/some-page/.
How do I get the browser uri at server side?