[PHP-DOC] cvs: phpdoc /en/functions zlib.xml From: Hartmut Holzgraefe (hartmut <email protected>)
Date: 10/13/00

hholzgra Fri Oct 13 05:59:27 2000 EDT

  Modified files:
    /phpdoc/en/functions zlib.xml
  Log:
  added a note about the experimental 'zlib:' fopen wrapper
  
  
Index: phpdoc/en/functions/zlib.xml
diff -u phpdoc/en/functions/zlib.xml:1.8 phpdoc/en/functions/zlib.xml:1.9
--- phpdoc/en/functions/zlib.xml:1.8 Thu Sep 14 16:51:07 2000
+++ phpdoc/en/functions/zlib.xml Fri Oct 13 05:59:27 2000
@@ -14,6 +14,21 @@
    with gzip-compressed files (and uncompressed files, too, but not
    with sockets).
   </para>
+ <note>
+ <para>
+ The current CVS version 4.0.4-dev introduces a fopen-wrapper
+ for .gz-files, so that you can use a special 'zlib:' URL to
+ access compressed files transparently using the normal
+ f*() file access functions if you prepend the filename or path
+ with a 'zlib:' prefix when calling <function>fopen</function>.
+ </para>
+ <para>
+ This feature requires a C runtime library that provides the
+ <literal>fopencookie()</literal> function. To my current
+ knowledge the GNU libc is the only library that provides
+ this feature.
+ </para>
+ </note>
 
    <sect1 id="zlib-example">
     <title>Small code example</title>