__DIR__ PHP directive

__DIR__ PHP directive will contain system path of the file that is being executed. This directive will only show the path, if needed to know the full path including filename, then __FILE__ directive must be used.

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator