Re: Why getcwd() returs different results?
| From: | Ashley Sheridan | Date: | Thu, 05 Nov 2009 11:09:19 +0000 |
| Subject: | Re: Why getcwd() returs different results? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-299636@lists.php.net to get a copy of this message | ||
On Wed, 2009-11-04 at 17:36 -0800, Raymond Irving wrote:
> 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
What shutdown functions are you meaning? Do you have an example which
shows the problem?
Thanks,
Ash
http://www.ashleysheridan.co.uk