ID: 21649 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Filesystem function related Operating System: win2000 server PHP Version: 4.3.0 New Comment:
What is the exact include_path line in your php.ini? Previous Comments: ------------------------------------------------------------------------ [2003-01-15 02:12:22] [EMAIL PROTECTED] I just want to say that I included double \\ in path as well no luck $fp = fopen("C:\\authenticate.txt","r",1); ------------------------------------------------------------------------ [2003-01-15 02:03:56] [EMAIL PROTECTED] $fp = fopen("C:\authenticate.txt","r",1); $auth_file = fread ($fp, filesize($fp)); fclose($fp); in include_path I have include_path c:\php4\pear;c:\ c:\php4\pear;c:\ That what I got Warning: fopen(C:\authenticate.txt) [function.fopen]: failed to create stream: No such file or directory in C:\Program Files\Apache Group\Apache2\htdocs\authfile.php on line 3 Warning: fread(): supplied argument is not a valid stream resource in C:\Program Files\Apache Group\Apache2\htdocs\authfile.php on line 4 As You can see I have Apache2. Since I'm more oracle guru than PHP I'd like to see more consistent way You do bug reporting I will benefit everbody. Best Regards W.J.Lipinski ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21649&edit=1