Bug #13292 Updated: file_exists works with UNC names

From: Date: Tue, 30 Apr 2002 11:40:57 +0000
Subject: Bug #13292 Updated: file_exists works with UNC names
References: 1  Groups: php.bugs php.doc 
Request: Send a blank email to php-bugs+get-6561@lists.php.net to get a copy of this message
ID: 13292 Updated by: mfischer@php.net Reported By: Helmut.Himmelstoss@t-online.de -Status: Bogus +Status: Open -Bug Type: Filesystem function related +Bug Type: Documentation problem Operating System: Windows NT/2000 PHP Version: 4.1.1 New Comment: Sounds reasonable as this kind of things keep coming more often recently. Marking as documentation problem Previous Comments: ------------------------------------------------------------------------ [2002-04-30 07:29:56] christoph.grottolo@gmx.net In IIS you can check the option 'check that file exists' in the IIS Admin interface on the panel where you enter the file extensions (.php -> c:\php\php.exe). Then IIS will check the permissions and open the file for php. The anonymous webserver account (usually IUSER_MACHINENAME) must have appropriate permissions on the remote share. If not IIS will check if the remote user is a domain user with permission to access the share, but this only works if the remote user is in the same or in a trusted domain AND uses MSIE AND NTLM authentication is enabled in IIS. PHP as CGI in IIS starts on a local account and cannot access remote shares itself. I've been asked questions about this issue quite often, maybe the correct settings should be explained in the manual. Christoph ------------------------------------------------------------------------ [2002-04-29 15:45:09] sniper@php.net 1. Update to 4.2.0 2. If it's permissions problem -> Not bug in PHP. ------------------------------------------------------------------------ [2002-04-29 15:44:59] sniper@php.net 1. Update to 4.2.0 2. If it's permissions problem -> Not bug in PHP. ------------------------------------------------------------------------ [2002-04-29 11:22:31] Helmut.Himmelstoss@t-online.de Yes, this functionality are ok. But only when the PC is trusted in a domäne and you are using a domain-user. ------------------------------------------------------------------------ [2002-04-29 04:14:15] manuzhai@php.net Have you tried the //computername/share/filename syntax? ------------------------------------------------------------------------ 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/13292 -- Edit this bug report at http://bugs.php.net/?id=13292&edit=1

« previous php.bugs (#6561) next »