#21285 [Opn->Csd]: [chm] bug on function.fopen.html

From: Date: Mon, 30 Dec 2002 09:27:15 +0000
Subject: #21285 [Opn->Csd]: [chm] bug on function.fopen.html
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969350493@lists.php.net to get a copy of this message
ID: 21285 Updated by: derick@php.net Reported By: anders.bergquist@ilvismedia.se -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] anders.bergquist@ilvismedia.se 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

« previous php.doc (#969350493) next »