Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

cvs: phpdoc /en/reference/filesystem/functions fopen.xml
nforbes		Mon Nov 29 18:15:35 2004 EDT

Modified files:
/phpdoc/en/reference/filesystem/functions	fopen.xml
Log:
Moved important emphasized text to separate notes; moved compatibility notic
e to above the table.

http://cvs.php.net/diff.php/phpdoc/...24&r2=1.25&ty=u
Index: phpdoc/en/reference/filesystem/functions/fopen.xml
diff -u phpdoc/en/reference/filesystem/functions/fopen.xml:1.24 phpdoc/en/re
ference/filesystem/functions/fopen.xml:1.25
--- phpdoc/en/reference/filesystem/functions/fopen.xml:1.24	Fri Apr 23 14:23
:08 2004
+++ phpdoc/en/reference/filesystem/functions/fopen.xml	Mon Nov 29 18:15:35 2
004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.24 $ -->
+<!-- $Revision: 1.25 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
<refentry id="function.fopen">
<refnamediv>
@@ -56,6 +56,15 @@
</simpara>
</note>
¬e.context-support;
+    <note>
+     <simpara>
+      As of PHP 4.3.2, the default mode is set to binary for all
+      platforms that distinguish between binary and text mode.  If you are
+      having problems with your scripts after upgrading, try using the
+      <literal>'t'</literal> flag as a workaround until you have made your
+      script more portable as mentioned below.
+     </simpara>
+    </note>
<para>
The <parameter>mode</parameter> parameter specifies the type of access
you require to the stream.  It may be any of the following:
@@ -185,25 +194,19 @@
may experience strange problems with your data, including broken image
files and strange problems with <literal>\r\n</literal> characters.
</para>
+    </note>
+    <note>
<para>
-      <emphasis>For portability, it is strongly recommended that you always
-       use the 'b' flag when opening files with <function>fopen</function>.
-      </emphasis>
-     </para>
-     <para>
-      <emphasis>Again, for portability, it is also strongly recommended tha
t
-       you re-write code that uses or relies upon the <literal>'t'</literal
>
-       mode so that it uses the correct line endings and
-       <literal>'b'</literal> mode instead.
-      </emphasis>
+      For portability, it is strongly recommended that you always
+      use the 'b' flag when opening files with <function>fopen</function>.
</para>
+    </note>
+    <note>
<para>
-      <emphasis>As of PHP 4.3.2, the default mode is set to binary for all
-       platforms that distinguish between binary and text mode.  If you are
-       having problems with your scripts after upgrading, try using the
-       <literal>'t'</literal> flag as a workaround until you have made your
-       script more portable as mentioned above.
-      </emphasis>
+      Again, for portability, it is also strongly recommended that
+      you re-write code that uses or relies upon the <literal>'t'</literal>
+      mode so that it uses the correct line endings and
+      <literal>'b'</literal> mode instead.
</para>
</note>
<para>

Report this thread to moderator Post Follow-up to this message
Old Post
Noel Forbes
11-30-04 01:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Documentation archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 07:23 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.