KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Lots of famous PHP scripts including WordPress use dirname(__FILE__).'/myParent.php' instead of just 'myParent.php' when including files in the same directory of the currently running script. Aren't they the same thing? Why do you prefer typing more? Thanks.
Tags (comma-separated)
Save Edits
Cancel