posix_getcwd

(PHP 3 >= 3.0.13, PHP 4, PHP 5)

posix_getcwd -- Pathname of current directory

说明

string posix_getcwd ( void )

Gets the absolute pathname of the script's current working directory.

返回值

Returns the absolute pathname, or FALSE on error.