I am having a problem including a file.
The script is executing here:
docroot/common/branch1/executing_script.p hp
The file I want to include is here:
docroot/common/branch2/desired_include.p hp
The include path on the server is :
include_path='.:/usr/services/vux/lib/ph p'
My include statement is:
include("../branch2/desired_include.php" );
I have also tried:
include("./../branch2/desired_include.ph p");
Are relative paths not allowed?
Edit:
I've tried both methods on a second server and they work fine. Somebody's crippled include relative paths on the first server.
The script is executing here:
docroot/common/branch1/executing_script.p
The file I want to include is here:
docroot/common/branch2/desired_include.p
The include path on the server is :
include_path='.:/usr/services/vux/lib/ph
My include statement is:
include("../branch2/desired_include.php"
I have also tried:
include("./../branch2/desired_include.ph
Are relative paths not allowed?
Edit:
I've tried both methods on a second server and they work fine. Somebody's crippled include relative paths on the first server.
