#20831 [Com]: include() from UNC paths does not work.
| From: | fuh at eduhi dot at | Date: | Mon, 09 Dec 2002 10:36:14 +0000 |
| Subject: | #20831 [Com]: include() from UNC paths does not work. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-27145@lists.php.net to get a copy of this message | ||
ID: 20831
Comment by: fuh@eduhi.at
Reported By: harry@rhsoft.net
Status: Open
Bug Type: IIS related
Operating System: Windows 9x/2000/XP
PHP Version: 4.3.0RC2
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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