How to use Directory getcwd in PHP

In this article I am going to explain about getcwd function in PHP.
  • 1636

PHP getcwd() function

The directory getcwd function returns the current working directory.

Syntax of getcwd function


Example of directory getcwd function




echo getcwd();






getcwd function.jpg

You may also want to read these related articles :

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here


More Articles

© 2020 DotNetHeaven. All rights reserved.