#20831 [Csd]: include() from UNC paths does not work.

From: Date: Mon, 09 Dec 2002 11:04:22 +0000
Subject: #20831 [Csd]: include() from UNC paths does not work.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-27149@lists.php.net to get a copy of this message
ID: 20831 Updated by: wez@php.net Reported By: harry@rhsoft.net Status: Closed Bug Type: IIS related Operating System: Windows 9x/2000/XP PHP Version: 4.3.0RC2 New Comment: You will need to wait up to 3 hours for the snapshots to be rebuilt. We only commited the fix a few minutes after your comment. Previous Comments: ------------------------------------------------------------------------ [2002-12-09 05:00:44] fuh@eduhi.at sorry, but STILL exists! ------------------------------------------------------------------------ [2002-12-09 04:39:59] wez@php.net This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2002-12-09 04:36:13] fuh@eduhi.at i had the same problem: using win2k/iis5/php4.3rc2 (also tested with snapshots from 11.11.2002 during 8.12.2002) i have a web-root from an UNC path: with php-cgi.exe i get following error: warning: main (../include.php) [function.main]: failed to create stream: No such file or directory in \\server\share\script.php on line x i have tested with CLI version (php.exe) that works with UNC, but i have missing http headers... isapi dont works for me. ------------------------------------------------------------------------ [2002-12-05 11:00:50] sniper@php.net better summary.. ------------------------------------------------------------------------ [2002-12-05 10:27:29] harry@rhsoft.net If i use under ms iis fpr the root-directory of a website a unc-path in the network instead a local path i get a error By using the isapi this message i get, but it also dont work with the cgi-version: Warning: Unknown(\\srv-rhsoft\homepage\www.rhsoft.net\index.php): failed to create stream: No such file or directory in Unknown on line 0 Warning: Failed opening '\\srv-rhsoft\homepage\www.rhsoft.net\index.php' for inclusion (include_path='.') in Unknown on line 0 I hope that this error what exists since all versions of php i know will be found I will gratulate to php 4.3.0 rc 2 what runs on windows server very stable and fast. Thanks to all developers for this great script language and greetings to the gnu/linux hackers from austria ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20831&edit=1

« previous php.bugs (#27149) next »