Those of you who have been using PHP longer that I have will possibly be able to answer this really quickly. The documentation is sadly deficient on this point and I could do with some advice.
I'm using PHP 5 in ISAPI mode (although the question equally applies to CGI) with IIS 5.1
The phpinfo() tells me that "Virtual Directory Support" is enabled and the ISAPI information lists the translated path of my request.
Does this mean that the following:
will attempt to map the path (like ASP's Server.MapPath()) or will it always be taken relative to the include_path?
Some other questions:
I'm using PHP 5 in ISAPI mode (although the question equally applies to CGI) with IIS 5.1
The phpinfo() tells me that "Virtual Directory Support" is enabled and the ISAPI information lists the translated path of my request.
Does this mean that the following:
| Code: |
| <?php include 'blah/more/somefile.php'; ?> |
will attempt to map the path (like ASP's Server.MapPath()) or will it always be taken relative to the include_path?
Some other questions:
- What exactly is the "Virtual Directory Support" which is enabled? There's nothing in the documentation about this.
- Does the path mapping apply to the file system functions?
- Can I use IIS virtual directories at all in PHP without using "http://" prefixes?
