I am having some trouble using php include function.
Please consider the following directory structure:
I have a php script in the following directory:
res/common/
The file I am trying call via the include function is in the following directory:
includes/
I am calling the file as follows:
Code: Select all
include("includes/menu.php")Code: Select all
include("../../includes/menu.php")Code: Select all
include("http://www.mydomain/includes/menu.php")Any thoughts?
Thanks,
Rob.