cvs: phpdoc /en/reference/filesystem/functions fread.xml

From: Date: Sat, 09 Nov 2002 21:01:11 +0000
Subject: cvs: phpdoc /en/reference/filesystem/functions fread.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969349514@lists.php.net to get a copy of this message
philip Sat Nov 9 16:01:11 2002 EDT Modified files: /phpdoc/en/reference/filesystem/functions fread.xml Log: Removed empty note; a few <?php ?> additions. Index: phpdoc/en/reference/filesystem/functions/fread.xml diff -u phpdoc/en/reference/filesystem/functions/fread.xml:1.3 phpdoc/en/reference/filesystem/functions/fread.xml:1.4 --- phpdoc/en/reference/filesystem/functions/fread.xml:1.3 Sat Oct 26 16:40:42 2002 +++ phpdoc/en/reference/filesystem/functions/fread.xml Sat Nov 9 16:01:11 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.25 --> <refentry id="function.fread"> <refnamediv> @@ -24,11 +24,13 @@ <informalexample> <programlisting role="php"> <![CDATA[ +<?php // get contents of a file into a string $filename = "/usr/local/something.txt"; $fd = fopen ($filename, "r"); $contents = fread ($fd, filesize ($filename)); fclose ($fd); +?> ]]> </programlisting> </informalexample> @@ -44,18 +46,16 @@ <informalexample> <programlisting role="php"> <![CDATA[ +<?php $filename = "c:\\files\\somepic.gif"; $fd = fopen ($filename, "rb"); $contents = fread ($fd, filesize ($filename)); fclose ($fd); +?> ]]> </programlisting> </informalexample> </para> - <note> - <para> - </para> - </note> <simpara> See also <function>fwrite</function>, <function>fopen</function>, <function>fsockopen</function>, <function>popen</function>,

« previous php.doc (#969349514) next »