ID: 21649 Updated by: [EMAIL PROTECTED] Reported By: lipinski7722 at rogers dot com -Status: Feedback +Status: No Feedback Bug Type: Filesystem function related Operating System: win2000 server PHP Version: 4.3.0 New Comment:
No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2003-02-19 19:25:39] [EMAIL PROTECTED] Using this script: <?php error_reporting(E_ALL); ini_set('include_path','.;c:\\'); $fp=fopen('autoexec.bat','r', 1); echo ini_get('include_path'); ?> I can't reproduce this (with PHP 4.3.2-dev) under Windows 2000. Please try it out. ------------------------------------------------------------------------ [2003-01-18 11:52:39] lipinski7722 at rogers dot com User is administrator this is on localhost where PHP4 is configured as Apache 1.3 module What else I have to do in hppdcon for apache ????? Best Regards W.J.Lipinski ------------------------------------------------------------------------ [2003-01-17 21:15:33] [EMAIL PROTECTED] Are you sure the webserver user has rights to access that path even? ------------------------------------------------------------------------ [2003-01-16 14:33:36] lipinski7722 at rogers dot com Hi I just try your solution.It doesn't work. This is my path from <?php phpinfo();?> include_path c:\php4\pear;c:\ c:\php4\pear;c:\ Could You SEE IT!!!!!!!!!!!!! This is a code I'm tring to run <?php ini_set('include_path', 'c:\php4\pear;c:\\'); echo ini_get('include_path'), '<br />'; if(!$fp = fopen("authenticate.txt","r",1)) { die("<P>could not open password file"); } //$fp = fopen('C:\php4\pear\authenticate.txt','r',1); $auth_file = fread ($fp, filesize($fp)); fclose($fp); This is an error I'm getting c:\php4\pear;c:\ Warning: fopen(authenticate.txt) [function.fopen]: failed to create stream: No such file or directory in c:\program files\apache group\apache\htdocs\authfile.php on line 5 could not open password file Best Regards W.J.Lipinski ------------------------------------------------------------------------ [2003-01-16 13:25:44] cg at gordimer dot net Your include_path is wrong: include_path c:\php4\pear;c:\ c:\php4\pear;c:\ should read include_path="c:\php4\pear;c:\" an then you should fopen "c:\authenticate.txt" like this: $fp= fopen("autenticate.txt","r",1); because c:\ is already in your include path and you use 1 as your 3rd parameter. Christoph Christoph ------------------------------------------------------------------------ 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/21649 -- Edit this bug report at http://bugs.php.net/?id=21649&edit=1