note 26817 added to function.realpath
| From: | oliver at samera dot com dot py | Date: | Wed, 13 Nov 2002 22:51:53 +0000 |
| Subject: | note 26817 added to function.realpath | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-39460@lists.php.net to get a copy of this message | ||
If you want to know your current working directory, i.e. $PWD, you can use this:
echo "PWD: " . realpath('.');
--
http://www.php.net/manual/en/function.realpath.php
http://master.php.net/manage/user-notes.php?action=edit+26817
http://master.php.net/manage/user-notes.php?action=delete+26817
http://master.php.net/manage/user-notes.php?action=reject+26817