From: [EMAIL PROTECTED]
Operating system: win2000 server
PHP version: 4.3.0
PHP Bug Type: Filesystem function related
Bug description: This this problem with fopen() function for windows
$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 bug report at http://bugs.php.net/?id=21649&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21649&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21649&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21649&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21649&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21649&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21649&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21649&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21649&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21649&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21649&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21649&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21649&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21649&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=21649&r=gnused