Grabbing the page name only?

    Date: 01/12/06 (PHP Community)    Keywords: php

    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

    Source: http://community.livejournal.com/php/393760.html

« PHP shell access question || PHP Frameworks »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home