Hello Friends I want to get the Current Page Url instead of capturing root url of file
I want to capture Like this http://localhost/tester/
but coming like this
http://localhost/tester/views/inc/readcountry.php
I have tried like this but it's returning
$_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]
localhost/tester/views/inc/readcountry.php