paul_mann wrote in php

Grabbing the page name only?

Is there a nice and simple way to grab just the page.php part of an url as $PHP_SELF returns "folder/page.php".

I know this is probably something obvious but I just can't see it at the moment.

TIA

Paul