StackFlow
PHP - get current working directory
$currentWorkingDir = getcwd();
Please enable JavaScript to view the
comments powered by Disqus.