Why getcwd() returs different results?
| From: | Raymond Irving | Date: | Thu, 05 Nov 2009 01:36:26 +0000 |
| Subject: | Why getcwd() returs different results? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-299629@lists.php.net to get a copy of this message | ||
Hello,
The getcwd() method returns a different path when called from inside a shutdown function under
Apache. On windows IIS it works just fine.
Can't this be fixed so that the path returned is consistent across servers?
It would appear that PHP should set the CWD path before calling the shut down functions
__
Raymond Irving