I\'ve spent days researching the internet and I can\'t find the answer that I will understand and are able to implement.
I\'ve got the website in which I want to us
To get/display the current work directory, php have a builtin function for that
echo getcwd() . "\n";
This will display the current directory of your php file which is now being executed.