Answers for "how to get the path of the directory in use php"

PHP
0

php get directory

$currentDirectoryName = basename(__DIR__);
echo 'Currently in the '.$currentDirectoryName .' directory <br><br>';

$fullPath = dir(getcwd());
echo 'The full path is: ' . $fullPath->path . '<br>';
Posted by: Guest on July-01-2021
-1

how to know the path of php in linux

which php
Posted by: Guest on October-13-2020

Code answers related to "how to get the path of the directory in use php"

Browse Popular Code Answers by Language