Even when I give different URL, my php application is redirecting towards the default page. This too before I am getting that URL in the application.
I would like the query string and also the actual url, that has been clicked on through the user. But my application is giving the Link to the default page.
How do i obtain the actual URL and query string?
$_SERVER['QUERY_STRING'] // query $_SERVER['REQUEST_URI'] // full URL
is going to do that