Hi,
I use PHP 4.3.4 and IIS 6.0 on Window 2003 Server.
I am not able to do include() on files that are lying in a virtual directory. PHP has enabled support for virtual directory (phpinfo() says so).
When I try to access the same file writing the path to the virtual directory in the address-line of IEx, then I get access to the file.
Any ideas?
Thanks,
Torbjørn
Detailed info:
I have a folder, and a index.php-file where I do the following:
include "inc/init.php".
At the same level, I have made a virtual directory pointing to a folder containing the init.php-file.
But I get the following error message:
Warning: main(inc/init.php): failed to open stream: No such file or directory in F:\home\vocano\hybrisfilm\index.php on line 3
Fatal error: main(): Failed opening required 'inc/init.php' (include_path='.;c:\php4\pear') in F:\home\vocano\hybrisfilm\index.php on line 3