Is there a way to do this, getting the new url of an included php file? If there is, then please forgive me for my dumbness and irresponsibly inadequate researching. Thank you so much.
This is what you are looking for.
Here is the documentation
You should be able to access your URL query variables through the global $_GET array.