ID: 42912
User updated by: administrator dot bau at josephinum dot at
Reported By: administrator dot bau at josephinum dot at
Status: Open
Bug Type: Filesystem function related
Operating System: Windows 2003 SP2
PHP Version: 5.2.4
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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 :-)
------------------------------------------------------------------------
[2007-10-10 12:19:27] administrator dot bau at josephinum dot at
After IIS restart
When i first Open the Page with Admin Rights the it Shows "File Exists"
after that i Open it with User Rights and it Shows "File Exists"
Again IIS Restart
BUT First open with user Rigths it Shows "File Error" after i open it
with Admin Rights then it Shows File Exists with User rights.
i keep looking for it, i hope someone can help me.
------------------------------------------------------------------------
[2007-10-10 11:25:50] administrator dot bau at josephinum dot at
When i Reload the Page Reload Fast enough(under a half second) i become
True sometimes, but when i Relod the Page Every Second i become alwayse
false.
But the HTML File get included
------------------------------------------------------------------------
[2007-10-10 08:13:40] administrator dot bau at josephinum dot at
Ohh i forgot
IIS 6.0 + PHP ISAPI Module Sorry :-)
------------------------------------------------------------------------
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