Question : how to give path of file which in directory in require_once
Answered by : ankur-prajapati
require_once(dirname(__FILE__).'/../../test/file.php')
Source : https://stackoverflow.com/questions/1973813/how-does-include-path-resolution-work-in-require-once | Last Update : Wed, 06 Oct 21