The current working directory : Directory « File Directory « PHP
- PHP
- File Directory
- Directory
The current working directory
<?php
$working_dir = getcwd();
echo "The current working directory is: $working_dir ", "\n";
?>
Related examples in the same category