getcwd

(PHP 4 , PHP 5)

getcwd -- カレントのワーキングディレクトリを取得する

説明

string getcwd ( void )

カレントのワーキングディレクトリを返します。

chdir()も参照してください。