PHP - Getting Current URL
<p>This seems like a common questions but none of them seem to be what i'm looking for. If there is a website:</p>

<p>www.example.com/test.php</p>

<p>I want to pull the "test.php" and if it's something like:</p>

<p>www.example.com/folder/folder1/test.php</p>

<p>I want again to just pull "test.php" but everything seems to pull the exact path instead of just the page. Any suggestions?</p>
