Get PHP page name with all the get information
<p>I want to extract the page name with the link.</p>

<p>Say this is the page being viewed: example.php?id=5&amp;name=John
I want to variable to be stored that exactly, not just example.php</p>

<p>Thanks</p>
