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