note 79543 deleted from function.dirname by betz
| From: | betz@php.net | Date: | Tue, 04 Dec 2007 14:53:26 +0000 |
| Subject: | note 79543 deleted from function.dirname by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-132795@lists.php.net to get a copy of this message | ||
Note Submitter: johnrafferty at luxlucid dot com
----
You can get the current directory name through;
$directory = array_pop( explode ("/", dirname(__FILE__)) );