PHP.SU
FORUM.PHP.SU
(PHP 3>= 3.0.13, PHP 4, PHP 5)
posix_getcwd - Pathname текущей директории.
string posix_getcwd (void)
Нужно дописать ASAP.