(PHP 4 , PHP 5)
Returns the current working directory.
Exemplu 1. getcwd() example
<?php// current directoryecho getcwd() . "\n";chdir('cvs');// current directoryecho getcwd() . "\n";?>
This example will output something like:
/home/didou /home/didou/cvs
See also chdir().