Getting current page name without path
| From: | (Bushra) | Date: | Tue, 06 Sep 2005 07:11:12 +0000 |
| Subject: | Getting current page name without path | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-221885@lists.php.net to get a copy of this message | ||
Hi
I want to get the name of current page. I use $PHP_SELF or SCRIPT_FILENAME, but it also provides the path name . I just want to retrieve the file name with extension. How can I do that?
Regards Bushra