ID:               21285
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: windows
 PHP Version:      4.2.3
 New Comment:

Uhm,

it's already exactly at that location (just below "a+":

Note:  The mode may contain the letter 'b'. This is useful only on
systems which differentiate between binary and text files (i.e.
Windows. It's useless on Unix). If not needed, this will be ignored.
You are encouraged to include the 'b' flag in order to make your
scripts more portable. 

Derick



Previous Comments:
------------------------------------------------------------------------

[2002-12-30 03:25:36] [EMAIL PROTECTED]

I have found a bug on page function.fopen.html
[chm date: 2002-08-28]...
The b -flag in fopen($string, "rb") is not mention in the text of the
manual.

I find its important to download binary files to databased in windows.
It take me several hours to find it out.

I suggest this addition to the text:

"mode may be any of the following: 
{... Your text

'a+' - Open for reading and writing; place the file pointer at the end
of the file. If the file does not exist, attempt to create it.}

'b' adding this will indicate a binary file. This is important tothe
windows operation system for handling binary files right.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=21285&edit=1


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to