note 7489 deleted from language.constants by googleguy
| From: | googleguy@php.net | Date: | Sat, 19 Jan 2013 03:42:23 +0000 |
| Subject: | note 7489 deleted from language.constants by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-193225@lists.php.net to get a copy of this message | ||
Note Submitter: tom dot harris at home dot com
----
To get a full path (the equivalent of something like "__PATH__") use
dirname($SCRIPT_FILENAME)
to get the directory name of the called script and
dirname(__FILE__)
to get the directory name of the include file.