note 7489 modified in Constants by ronabop
| From: | ronabop@php.net | Date: | Sun, 03 Sep 2000 20:37:33 +0000 |
| Subject: | note 7489 modified in Constants by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4087@lists.php.net to get a copy of this message | ||
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.
http://www.php.net/manual/constants.php