|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-11-29 12:40 UTC] patrick dot allaert at belgacom dot be
[2004-11-29 18:42 UTC] patrick dot allaert at belgacom dot be
[2017-01-20 20:25 UTC] heiglandreas@php.net
-Status: Open
+Status: Feedback
-Package: Feature/Change Request
+Package: *General Issues
[2017-01-20 20:25 UTC] heiglandreas@php.net
[2017-01-29 04:22 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 18:00:01 2025 UTC |
Description: ------------ Including a script in the current directory with './' fails when IIS is configured with a virtual site with ISAPI module. It works well with the cgi installation! Reproduce code: --------------- --- D:\wwwroot\a.php --- <?php system('cd'); include('./b.php'); ?> ------------------------ --- D:\wwwroot\b.php --- TEST ------------------------ ==> http://localhost/a.php Expected result: ---------------- With a cgi installation: D:\wwwroot TEST Actual result: -------------- With the ISAPI installation: C:\WINNT\system32 Warning: main(./b.php): failed to open stream: No such file or directory in D:\wwwroot\a.php on line 3 Warning: main(): Failed opening './b.php' for inclusion (include_path='.;c:\php\includes;c:\php\pear;c:\php;c:\php\font') in D:\wwwroot\a.php on line 3