#42912 [Bgs]: file_exists don't work Correctly with NTLM and User with Lower Rights

From: Date: Thu, 11 Oct 2007 13:38:49 +0000
Subject: #42912 [Bgs]: file_exists don't work Correctly with NTLM and User with Lower Rights
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-118392@lists.php.net to get a copy of this message
ID: 42912 Updated by: jani@php.net Reported By: administrator dot bau at josephinum dot at Status: Bogus Bug Type: Filesystem function related Operating System: Windows 2003 SP2 PHP Version: 5.2.4 New Comment: And most likely IIS bug. Previous Comments: ------------------------------------------------------------------------ [2007-10-11 13:38:26] jani@php.net We are aware of PHP's problems with stability under IIS and are working to rectify the problem. Unfortunatly your bug report does not contain any extra useful information and we already have enough bug reports open about this issue. If you can provide more detailed information such as a reproducable crash or a backtrace please do so and reopen this bug. Otherwise please keep trying new releases as we are working to resolve the problems on this platform Thanks for your interest in PHP. ------------------------------------------------------------------------ [2007-10-10 14:19:52] administrator dot bau at josephinum dot at OK i it works now! Folder A Webrootfolder index.php < where the Script is fileadmin Template main.html The "Folder A" (Parent Folder of Root folder!!!) need Directory Listing Rights for the User how Connect on IIS Is this an ISAPI oder IIS Bug? Or iam a dumb man?? ------------------------------------------------------------------------ [2007-10-10 13:57:01] administrator dot bau at josephinum dot at I think i got it When i get "getcwd" from Admin i get the Path to the Correct Root Folder With lower Right User i get "c:\windows\system32\inetsrv" and then php cannot Accses the File because of the wrong Root Folder ------------------------------------------------------------------------ [2007-10-10 13:32:23] administrator dot bau at josephinum dot at Edit some of the Sample Code from and PHP irc chanel for testing purpose <?php $file='fileadmin/template/loadme.html'; ini_set("include_path", "/fileadmin/template"); clearstatcache(); if (is_File($file)) { echo ('File Exists:'.$file.'<br>'); }else{ echo('File ERROR:'.$file.'<br>'); } include_once($file); echo('<br>Loaded at'.date("r")); ?> ------------------------------------------------------------------------ [2007-10-10 13:06:58] administrator dot bau at josephinum dot at Looks similar to Bug ID:40818 but i have 5.2.4 I keep going on trail and error :-) ------------------------------------------------------------------------ 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/42912 -- Edit this bug report at http://bugs.php.net/?id=42912&edit=1

« previous php.bugs (#118392) next »