RE: [PHP] Writing text files in Windows 2k

From: Date: Mon, 10 Feb 2003 14:25:52 +0000
Subject: RE: [PHP] Writing text files in Windows 2k
Groups: php.general 
Request: Send a blank email to php-general+get-135060@lists.php.net to get a copy of this message
-----Original Message----- From: Adam Voigt [mailto:adam@cryptocomm.com] Sent: 10 February 2003 14:13 Precisely where did you get the "b" in your second parameter to fopen? I didn't see it on the fopen manual page at: http://www.php.net/fopen <http://www.php.net/fopen> Er -- quoting from that very page: 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 Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: m.ford@lmu.ac.uk Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211

« previous php.general (#135060) next »