Current file - predefined constants

Current filename can accessed with the help of __FILE__ constant and __DIR__ constant can be used to determine the directory in which the script was executed.

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator