In an application that works fine on my Win32 development workstation, fails on my Linux server.
Here's the code:
require("./includes/inc_reportlib.php");
require("./includes/inc_connect.php");
Here's the error (from Linux server):
Warning: main(./includes/inc_reportlib.php): failed to open stream: No such file or directory in /var/www/com-test/smartbusinessware/pwe2/createservicereport.php on line 14
Fatal error: main(): Failed opening required './includes/inc_reportlib.php' (include_path='.:/usr/local/lib/php') in /var/www/com-test/smartbusinessware/pwe2/createservicereport.php on line 14
I've tried every combination of path I can think of, e.g. "require(includes/inc_reportlib.php)" and tried putting the includes dir in the php path. Nothing seems to work! I must be missing something basic...
ANY help appreciated!!
JC