ProAnswers.org

How do you get the current working directory in PHP?

How do you get the current working directory in PHP?

Getting the working directory

$curr_dir = getcwd();