Hi. I am using this command
include ($_SERVER['DOCUMENT_ROOT']."<path>");
to import a *.php file into another *.php file.
However, i have noticed that in some cases it works, in some cases it does not. In another file I am using the same syntax to import a file which, is also importing another file into it. Is it ok to do this? Or is there a rule which says that if you import a file into another file, the which is going to be imported cannot import another file? Thank you.