SyntaxFix
Write A Post
Hire A Developer
Questions
for php version 5.2.17 __DIR__ will not work it will only works with php 5.3
__DIR__
But for older version of php dirname(__FILE__) perfectly
dirname(__FILE__)
For example write like this
require_once dirname(__FILE__) . '/db_config.php';