How to use Directory getcwd in PHP
In this article I am going to explain about getcwd function in PHP.
PHP getcwd() function
The directory getcwd function returns the current working directory.
Syntax of getcwd function
Example of directory getcwd function
<html>
<body>
<?php
echo getcwd();
?>
</body>
</html>
|
Output:

You may also want to read these related articles :here
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here