note 16120 added to function.getcwd
| From: | weigelt at metux dot de | Date: | Wed, 17 Oct 2001 06:35:15 +0000 |
| Subject: | note 16120 added to function.getcwd | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-19024@lists.php.net to get a copy of this message | ||
Normally PHP automatically changes the current working directory to the script's location.
You can get the dir where the script was called from from $HTTP_SERVER_VARS{'PWD'}.
--
http://www.php.net/manual/en/function.getcwd.php
http://master.php.net/manage/user-notes.php?action=edit+16120
http://master.php.net/manage/user-notes.php?action=delete+16120
http://master.php.net/manage/user-notes.php?action=reject+16120