Note Submitter: Robert Neuschul

----

Error reporting only; no debug info to follow.

On Linux/Apache with PHP 4.3.1 the following works as expected.
Using a testbed PHP 4.3.1 system on W2K/SP3 with Apache 2 the following "include" statement fails with errors

include ("realpath(dirname(__FILE__) . '/scripts/common.php' ");

The errors are
Warning: main(realpath(dirname(__FILE__) . 'scripts/common.php') [function.main]: failed to create stream: No such file or directory in C:\\Program Files\\Apache Group\\Apache2\\htdocs\\fun\\admin\\test.php on line 3

Warning: main() [function.main]: Failed opening 'realpath(dirname(__FILE__) . 'scripts/common.php'' for inclusion (include_path='.;c:\\php4\\pear') in C:\\Program Files\\Apache Group\\Apache2\\htdocs\\fun\\admin\\test.php on line 3

The common file does exist in the directory specified, and Apache does have read/write permissions over the specified file and directory. Switching from 'NIX to Windows style slashes in the include statement does *not* allow the include to work correctly.