RE: [PHP] Get Current Filename
| From: | Vail, Warren | Date: | Fri, 29 Mar 2002 01:02:01 +0000 |
| Subject: | RE: [PHP] Get Current Filename | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-90627@lists.php.net to get a copy of this message | ||
Try;
$filename = basename($PHP_SELF);
assuming you don't need the full path
Warren Vail
Tools, Metrics & Quality Processes
(415) 667-7814
Pager (877) 774-9891
215 Fremont 02-658
-----Original Message-----
From: Patrick Hartnett [mailto:irishprogramming@hotmail.com]
Sent: Thursday, March 28, 2002 4:53 PM
To: php-general@lists.php.net
Subject: [PHP] Get Current Filename
Trying to build a database which uses the webpage name as one of the
selection criteria. (building page specific menus). How do I get the
current file name? Can't seem to find any help on this.
-Patrick
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php