Less More -
Posts: 4306
-
Thank you received: 0
-
-
-
Less More -
Posts: 4306
-
Thank you received: 0
-
-
-
2 months 3 weeks ago #3442 by Elias Katsaniotis,MSc
In order to get the root directory path, you can use _DIR_ or dirname(). echo dirname(__FILE__); Both the above syntaxes will return the same result.
- Q&A Forum
- Index
- PHP
- How to find root directory in PHP?
Time to create page: 0.086 seconds