ID:               20831
 Updated by:       [EMAIL PROTECTED]
-Summary:          include() from UNC paths does not work.
 Reported By:      [EMAIL PROTECTED]
-Status:           Closed
+Status:           Feedback
 Bug Type:         IIS related
 Operating System: Windows 9x/2000/XP
-PHP Version:      4.3.0RC2
+PHP Version:      4.3.0RC2, 4.3.0 Release
 New Comment:

Confirming the bug with the PHP 4.3.0 release. Also found strange
behaviour when opening files by UNC under WinNT5/IIS5/PHP4.3.0.

When I open file //proxy/somepath/... (on the server) by the UNC, it
works fine. But when I try to open //main/somepath/... (on other
server, permissions for browser are set accordingly) it fails. Also it
fails opening files by UNC, except for the IIS server machine itself.

Suggestions?

P.S. Reopened the bug...



Previous Comments:
------------------------------------------------------------------------

[2002-12-11 11:29:25] [EMAIL PROTECTED]

i have replaced the dll (only one copy), but it dont work for me.
i will setup a second testinstall on another "clean" server.

maybe its a iis config problem... i will check this now.

thank for your helps...

------------------------------------------------------------------------

[2002-12-11 09:26:23] [EMAIL PROTECTED]

I've tried the latest snap on WinXP using cli including 
"../../file.txt" & "\\\\server\path\file.txt" and both works
flawlessly. The few people I spoke to also didn't not encounter a
problem opening/including files via relative or UNC path.
Therefor, I must conclude that the problem you are seeing is due to
some issue on your end, possible left over dlls from older PHP, IIS
config params and so on...

------------------------------------------------------------------------

[2002-12-11 09:25:14] [EMAIL PROTECTED]

The CLI version should work, but to be sure, remove all old copies of
'php4ts.dll'. The fix is in this module.


------------------------------------------------------------------------

[2002-12-11 09:11:12] [EMAIL PROTECTED]

i meant 9:00 snapshot not 15:30 (this is localtime in austria)

i have now testet the ISAPI module of the snapshot, this do not work,
following error appears:
PHP has encountered an Access Violation at 0F6C3B5E

is there an user right problem? iis config?

------------------------------------------------------------------------

[2002-12-11 09:01:27] [EMAIL PROTECTED]

UNC error still exists...

i have tested again with with w2k-sp3/iis5/php-CGI

config within iis5:
.php -> g:\phpsnapshot\php-cgi.exe %s %s

if i try to include a file from a "lower" dir like ../_php/include.php
i still get the error described in this bug. what can be done?

i have tested actual snapshot versions (stable,cvs) from 11.dec. 15:30

i have also retestet the CLI version php.exe, it dont work! in a older
snapshot this has worked.

i have not testet ISAPI.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/20831

-- 
Edit this bug report at http://bugs.php.net/?id=20831&edit=1

Reply via email to