PHP. Руководство по PHP. 2005
posix_getcwd
posix_getcwd
Description
string posix_getcwd (void)posix_getcwd() returns the absolute pathname of the script's current working directory. posix_getcwd() returns FALSE on error.
posix_get_last_error
posix_getegid