note 42845 added to function.getcwd
| From: | nessie at pandora dot be | Date: | Mon, 31 May 2004 20:55:33 +0000 |
| Subject: | note 42845 added to function.getcwd | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-70365@lists.php.net to get a copy of this message | ||
if you need the path from which a script is executed on the command line, use $_ENV["PWD"]
getcwd() will only return the path to the script
----
Manual Page -- http://www.php.net/manual/en/function.getcwd.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+42845
Delete -- http://master.php.net/manage/user-notes.php?action=delete+42845&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+42845&report=yes
Search -- http://master.php.net/manage/user-notes.php