×

Notice

The forum is in read only mode.

How to find root directory in PHP?

More
2 months 3 weeks ago #3441 by Elias Katsaniotis,MSc
How to find root directory in PHP?
More
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.
Time to create page: 0.086 seconds

Site Info

V. Katsanioti,

Russia,

Kaliningrad Oblast.

matizegr@yahoo.com

Visit counter

United States of America (the) 80.6% United States of America (the)
Russian Federation (the) 11.1% Russian Federation (the)
China 4.9% China

Total:

33

Countries
00001847
Today: 17
Yesterday: 55
This Week: 72
Last Week: 565
This Month: 1,767
Last Month: 81

Who's Online

We have 239 guests and no members online