Let's say I have the page:
index.php?page=page-title-here
I want to get the current page name including the $_GET variable in the URL. I am currently using this:
basename(__FILE__)
It outputs "index.php", the actual file name. Any idea how to also include the $_GET variable so that it will output "index.php?page=page-title-here"?