ID: 42912
Updated by: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
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