cvs: phpdoc /kr/functions http.xml zlib.xml
| From: | Jungmin Song | Date: | Wed, 10 Jan 2001 14:53:26 +0000 |
| Subject: | cvs: phpdoc /kr/functions http.xml zlib.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969333536@lists.php.net to get a copy of this message | ||
karoora Wed Jan 10 06:53:26 2001 EDT
Modified files:
/phpdoc/kr/functions http.xml zlib.xml
Log:
translate done
Index: phpdoc/kr/functions/http.xml diff -u phpdoc/kr/functions/http.xml:1.1 phpdoc/kr/functions/http.xml:1.2 --- phpdoc/kr/functions/http.xml:1.1 Tue Jan 9 17:05:47 2001 +++ phpdoc/kr/functions/http.xml Wed Jan 10 06:53:26 2001 @@ -1,4 +1,4 @@ - <reference id="ref.http"> +<reference id="ref.http"> <title>HTTP functions</title> <titleabbrev>HTTP</titleabbrev> Index: phpdoc/kr/functions/zlib.xml diff -u phpdoc/kr/functions/zlib.xml:1.1 phpdoc/kr/functions/zlib.xml:1.2 --- phpdoc/kr/functions/zlib.xml:1.1 Tue Jan 9 17:05:48 2001 +++ phpdoc/kr/functions/zlib.xml Wed Jan 10 06:53:26 2001 @@ -1,44 +1,31 @@ - <reference id="ref.zlib"> - <title>Zlib Compression Functions</title> - <titleabbrev>Zlib</titleabbrev> - <partintro> - <para> - This module uses the functions of <ulink - url="&url.zlib;">zlib</ulink> by Jean-loup Gailly and Mark Adler to - transparently read and write gzip (.gz) compressed files. You have - to use a zlib version >= 1.0.9 with this module. +<reference id="ref.zlib"> + <title>Zlib Compression Functions</title> + <titleabbrev>Zlib</titleabbrev> + <partintro> + <para> + ì´ ëª¨ëì Jean-loup Gailly ê³¼ Mark Adler ì <ulink url="&url.zlib;">zlib</ulink> ì¬ì©íë©° gzip(.gz)ë¡ ìì¶ë íì¼ì ì ì½ê³ ì¸ì ìë¤. ì´ ëª¨ëì zlib 1.0.9ë²ì ¼ ì´ìê³¼ ì¬ì©í ì ìë¤. </para> - <para> - This module contains versions of most of the <link - linkend="ref.filesystem">filesystem</link> functions which work - with gzip-compressed files (and uncompressed files, too, but not + <para> + ì´ ëª¨ëì gzip ìì¶ë íì¼ê³¼ ì°ëíë ëë¶ë¶ì <link linkend="ref.filesystem">filesystem</link> í¨ì ë²ì ¼ì í¬í¨íê³ ìë¤. (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>. + <note> + <para> + íì¬ CVS 4.0.4-dev ë²ì ¼ì .gz-files를 ìí fopen-wrapper를 ìê°íê³ ìë¤. ìì¶ë íì¼ì +ë¤ë£¨ë í¹ë³í 'zlib:'URLì ì¬ì©í ì ì기 ìíì¬ ì¼ë°ì ì¸ f*() íì¼ ì ì´ í¨ìê° ì¬ì©ëë©° <function>fopen</function>í¨ì í¸ì¶ ì ì ì´ë¯¸ ìê³ ìë íì¼ëª ì´ë ê²½ë¡ê° 'zlib:'ì í¨ê» ì íëì´ì¼ íë¤. </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> + ì´ ê²½ì° <literal>fopencookie()</literal> í¨ì를 ì ê³µíë C ë°íì ë¼ì´ë¸ë¬ë¦¬ê° íìíë¤. íì¬ ì´ê²ì ì ê³µíë ë¼ì´ë¸ë¬ë¦¬ë GNU libcê° ì ì¼íë¤. </para> - </note> - - <sect1 id="zlib-example"> - <title>Small code example</title> - <para> - Opens a temporary file and writes a test string to it, then it - prints out the content of this file twice. - </para> - <example> - <title>Small Zlib Example</title> -<programlisting role="php"> + </note> + <sect1 id="zlib-example"> + <title>Small code example</title> + <para> + ìì íì¼ì ì´ì´ í ì¤í¸ 문ì를 기ë¡íê³ , ê·¸ ë´ì©ì ëë² ì¶ë ¥íë¤ . + </para> + <example> + <title>Small Zlib Example</title> + <programlisting role="php"> <?php $filename = tempnam ('/tmp', 'zlibtest').'.gz'; @@ -74,598 +61,569 @@ ?> </programlisting> - </example> - </sect1> - </partintro> - - <refentry id="function.gzclose"> - <refnamediv> - <refname>gzclose</refname> - <refpurpose>Close an open gz-file pointer</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>gzclose</function></funcdef> - <paramdef>int <parameter>zp</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <para> - The gz-file pointed to by zp is closed. - </para> - <para> - Returns true on success and false on failure. - </para> - <para> - The gz-file pointer must be valid, and must point to a file - successfully opened by <function>gzopen</function>. - </para> - </refsect1> - </refentry> - - <refentry id="function.gzeof"> - <refnamediv> - <refname>gzeof</refname> - <refpurpose>Test for end-of-file on a gz-file pointer</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>gzeof</function></funcdef> - <paramdef>int <parameter>zp</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <para> - Returns true if the gz-file pointer is at EOF or an error occurs; - otherwise returns false. - </para> - <para> - The gz-file pointer must be valid, and must point to a file - successfully opened by <function>gzopen</function>. + </example> + </sect1> + </partintro> + <refentry id="function.gzclose"> + <refnamediv> + <refname>gzclose</refname> + <refpurpose>ì§ì ë .gz íì¼ì ë«ëë¤.</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>gzclose</function> + </funcdef> + <paramdef>int <parameter>zp</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + zpììí´ ì§ì ë .gz íì¼ì´ ë«íì§ë¤. + </para> + <para> + ì±ê³µì true를 ì¤í¨ì failure를 ë°ííë¤. + </para> + <para> + .gzíì¼ì ì§ì ì ì íí´ì¼ íê³ , <function>gzopen</function>ì ìí´ ì±ê³µì ì¼ë¡ ì´ë¦° íì¼ì ì§ì í´ì¼ íë¤. + </para> + </refsect1> + </refentry> + <refentry id="function.gzeof"> + <refnamediv> + <refname>gzeof</refname> + <refpurpose>ì§ì ë .gz íì¼ì ëì í ì¤í¸íë¤.</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>gzeof</function> + </funcdef> + <paramdef>int <parameter>zp</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + ì§ì ë .gz íì¼ì ëì´ê±°ë ìë¬ê° ì¼ì´ëë©´ true를 ë°ííê³ ; ê·¸ë ì§ ìì ê²½ì° false를 ë°ííë¤. + </para> + <para> + .gz íì¼ì§ì ì ì íí´ì¼ íê³ , <function>gzopen</function>ì ìí´ ì±ê³µì ì¼ë¡ ì´ë¦° íì¼ì ì§ì í´ì¼ íë¤. + </para> + </refsect1> + </refentry> + <refentry id="function.gzfile"> + <refnamediv> + <refname>gzfile</refname> + <refpurpose>gz íì¼ ë´ì©ì ë°°ì´ë¡ ì½ì´ë¤ì¸ë¤.</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>array <function>gzfile</function> + </funcdef> + <paramdef>string <parameter>filename</parameter> + </paramdef> + <paramdef>int + <parameter> + <optional>use_include_path</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + <function>readgzfile</function>ì ëì¼íë, <function>gzfile</function>ì íì¼ì ë°°ì´ë¡ ë°ííë¤. </para> - </refsect1> - </refentry> - - <refentry id="function.gzfile"> - <refnamediv> - <refname>gzfile</refname> - <refpurpose>Read entire gz-file into an array</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>gzfile</function></funcdef> - <paramdef>string <parameter>filename</parameter></paramdef> - <paramdef>int - <parameter><optional>use_include_path</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <para> - Identical to <function>readgzfile</function>, except that - <function>gzfile</function> returns the file in an array. - </para> - <para> - You can use the optional second parameter and set it to "1", if - you want to search for the file in the <link - linkend="ini.include-path">include_path</link>, too. + <para> + ë§ì¼ <link linkend="ini.include-path">include_path</link>ìì íì¼ì ê²ìí기 ìíë¤ë©´, ëë²ì§¸ ìµì ì íë¼ë¯¸í°ì "1"ì ë£ì¼ë©´ ëë¤. </para> - <para> - See also <function>readgzfile</function>, and + <para> + ì°¸ê³ <function>readgzfile</function>, ì <function>gzopen</function>. </para> - </refsect1> - </refentry> - - <refentry id="function.gzgetc"> - <refnamediv> - <refname>gzgetc</refname> - <refpurpose>Get character from gz-file pointer</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>gzgetc</function></funcdef> - <paramdef>int <parameter>zp</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <para> - Returns a string containing a single (uncompressed) character - read from the file pointed to by zp. Returns FALSE on EOF (as - does <function>gzeof</function>). - </para> - <para> - The gz-file pointer must be valid, and must point to a file - successfully opened by <function>gzopen</function>. + </refsect1> + </refentry> + <refentry id="function.gzgetc"> + <refnamediv> + <refname>gzgetc</refname> + <refpurpose>ì§ì ë .gzíì¼ë¡ë¶í° 문ì를 ì¶ì¶íë¤.</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>gzgetc</function> + </funcdef> + <paramdef>int <parameter>zp</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + zpì ìí´ ì§ì ë íì¼ë¡ë¶í° 문ìì´ì í¬í¨ë ë¨ë¬¸ì(ìì¶ëì§ ìì)를 ë°ííë¤. EOFì ê²½ì° FALSE를 ë°ííë¤(ë§ì¹ <function>gzeof</function>ì²ë¼). </para> - <para> - See also <function>gzopen</function>, and - <function>gzgets</function>. + <para> + .gz íì¼ì ì§ì ì ì íí´ì¼ íê³ ,<function>gzopen</function>ì ìí´ ì±ê³µì ì¼ë¡ ì´ë¦° íì¼ì´ì´ì¼ íë¤. </para> - </refsect1> - </refentry> - - <refentry id="function.gzgets"> - <refnamediv> - <refname>gzgets</refname> - <refpurpose>Get line from file pointer</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>gzgets</function></funcdef> - <paramdef>int <parameter>zp</parameter></paramdef> - <paramdef>int <parameter>length</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <para> - Returns a (uncompressed) string of up to length - 1 bytes read - from the file pointed to by fp. Reading ends when length - 1 - bytes have been read, on a newline, or on EOF (whichever comes - first). - </para> - <para> - If an error occurs, returns false. - </para> - <para> - The file pointer must be valid, and must point to a file - successfully opened by <function>gzopen</function>. - </para> - <para> - See also <function>gzopen</function>, - <function>gzgetc</function>, and <function>fgets</function>. + <para> + ì°¸ê³ <function>gzopen</function>, ê³¼ + <function>gzgets</function>. </para> - </refsect1> - </refentry> - - <refentry id="function.gzgetss"> - <refnamediv> - <refname>gzgetss</refname> - <refpurpose> - Get line from gz-file pointer and strip HTML tags + </refsect1> + </refentry> + <refentry id="function.gzgets"> + <refnamediv> + <refname>gzgets</refname> + <refpurpose>ì§ì ë íì¼ë¡ ë¶í° ë¼ì¸ì ì½ì´ ë¤ì¸ë¤.</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>gzgets</function> + </funcdef> + <paramdef>int <parameter>zp</parameter> + </paramdef> + <paramdef>int <parameter>length</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + fpì ìí´ ì§ì ë íì¼ë¡ë¶í° length - 1 bytesì 문ì¥ì 리í´íë¤. length - 1 bytes를 ì½ê±°ë, ìë¡ì´ ë¼ì¸ì ë§ëê±°ë, EOFì ê²½ì° (í¹ ì²ìì¼ë¡ ëìê°ë ì§), ì½ëê²ì ê·¸ë§ëë¤. + </para> + <para> + ìë¬ê° ì¼ì´ë ê²½ì° false를 ë°ííë¤. + </para> + <para> + íì¼ì ì§ì ì ì íí´ì¼ íê³ , <function>gzopen</function>ì ìí´ ì±ê³µì ì¼ë¡ ì´ë¦° íì¼ì´ì´ì¼ íë¤. + </para> + <para> + ì°¸ê³ <function>gzopen</function>, + <function>gzgetc</function>, <function>fgets</function>. + </para> + </refsect1> + </refentry> + <refentry id="function.gzgetss"> + <refnamediv> + <refname>gzgetss</refname> + <refpurpose> + .gz íì¼ë¡ë¶í° HTML í그를 ì ì¸íê³ í ë¼ì¸ì ì½ëë¤, </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>gzgetss</function></funcdef> - <paramdef>int <parameter>zp</parameter></paramdef> - <paramdef>int <parameter>length</parameter></paramdef> - <paramdef>string - <parameter><optional>allowable_tags</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <para> - Identical to <function>gzgets</function>, except that - <function>gzgetss</function> attempts to strip any HTML and PHP - tags from the text it reads. + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>gzgetss</function> + </funcdef> + <paramdef>int <parameter>zp</parameter> + </paramdef> + <paramdef>int <parameter>length</parameter> + </paramdef> + <paramdef>string + <parameter> + <optional>allowable_tags</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + <function>gzgets</function>ì ëì¼íë, <function>gzgetss</function>ì ì½ì 문ììì HTMLê³¼ PHP + í그를 ì ì¸íë¤. </para> - <para> - You can use the optional third parameter to specify tags which + <para> + ì¸ë²ì§¸ ìµì ì íë¼ë¯¸í°ë¥¼ ì¬ì©íì¬ ëª ìí í그를 ì ì¸íì§ ìì ì ìë¤.You can use the optional third parameter to specify tags which should not be stripped. <note> - <para> - <parameter>Allowable_tags</parameter> was added in PHP 3.0.13, - PHP4B3. - </para> - </note> - </para> - <para> - See also <function>gzgets</function>, - <function>gzopen</function>, and <function>strip_tags</function>. - </para> - </refsect1> - </refentry> - - <refentry id="function.gzopen"> - <refnamediv> - <refname>gzopen</refname> - <refpurpose>Open gz-file</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>gzopen</function></funcdef> - <paramdef>string <parameter>filename</parameter></paramdef> - <paramdef>string <parameter>mode</parameter></paramdef> - <paramdef>int - <parameter><optional>use_include_path</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <para> - Opens a gzip (.gz) file for reading or writing. The mode - parameter is as in <function>fopen</function> ("rb" or "wb") but - can also include a compression level ("wb9") or a strategy: 'f' - for filtered data as in "wb6f", 'h' for Huffman only compression - as in "wb1h". (See the description of deflateInit2 in zlib.h for - more information about the strategy parameter.) - </para> - <para> - <function>Gzopen</function> can be used to read a file which is - not in gzip format; in this case <function>gzread</function> will - directly read from the file without decompression. - </para> - <para> - <function>Gzopen</function> returns a file pointer to the file - opened, after that, everything you read from this file descriptor - will be transparently decompressed and what you write gets - compressed. - </para> - <para> - If the open fails, the function returns false. - </para> - <para> - You can use the optional third parameter and set it to "1", if - you want to search for the file in the <link - linkend="ini.include-path">include_path</link>, too. - </para> - <para> - <example> - <title><function>Gzopen</function> Example</title> - <programlisting role="php"> + <para> + <parameter>Allowable_tags</parameter>ë PHP 3.0.13, + PHP4B3ì í¬í¨ëìë¤. + </para> + </note> + </para> + <para> + ì°¸ê³ <function>gzgets</function>, + <function>gzopen</function>, <function>strip_tags</function>. + </para> + </refsect1> + </refentry> + <refentry id="function.gzopen"> + <refnamediv> + <refname>gzopen</refname> + <refpurpose>.gzíì¼ì ì°ë¤</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>gzopen</function> + </funcdef> + <paramdef>string <parameter>filename</parameter> + </paramdef> + <paramdef>string <parameter>mode</parameter> + </paramdef> + <paramdef>int + <parameter> + <optional>use_include_path</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + gzip (.gz)íì¼ì ì½ê¸° ëë ì°ê¸°ìí´ ì°ë¤. mode íë¼ë¯¸í°ë <function>fopen</function> ("rb" or "wb")ì ê°ê³ , ëí ìì¶ë 벨 ("wb9") ëë stategy를 í¬í¨íë¤: 'f' + for filtered data as in "wb6f", 'h' for Huffman only compression + as in "wb1h". (strategy parameterì ê´í ë³´ë¤ ë§ì ì 보를 ìíë¤ë©´ the description of deflateInit2 in zlib.hë³´ë¼.) + </para> + <para> + <function>Gzopen</function>ì gzip í¬ë©§ì´ ìë íì¼ì ì½ëë° ì¬ì©ë ì ìë¤.; ì´ ê²½ì° <function>gzread</function>ë¡ ìì¶í´ì ìì´ ë°ë¡ íì¼ë¡ ë¶í° ì½ì ì ìë¤. + </para> + <para> + <function>Gzopen</function>ì ì´ê³ ì ì§ì í íì¼ì ë¦¬í´ íë¤. ê·¸ë¦¬ê³ ë ì½ê³ ì íë 모ë ê²ì ìì¶í´ì íê³ , 기ë¡íê³ ìì¶í ì ìë¤. + </para> + <para> + ë§ì¼ ì´ê¸°ì ì¤í¨íë©´ false를 리í´íë¤. + </para> + <para> + ì¸ë²ì§¸ ìµì ì íë¼ë¯¸í°ì "1"ì ë£ì¼ë©´ <link linkend="ini.include-path">include_path</link>ìì íì¼ì ê²ì í ì ìë¤. + </para> + <para> + <example> + <title> + <function>Gzopen</function> Example</title> + <programlisting role="php"> $fp = gzopen ("/tmp/file.gz", "r"); </programlisting> - </example> - </para> - <para> - See also <function>gzclose</function>. - </para> - </refsect1> - </refentry> - - <refentry id="function.gzpassthru"> - <refnamediv> - <refname>gzpassthru</refname> - <refpurpose> - Output all remaining data on a gz-file pointer + </example> + </para> + <para> + ì°¸ê³ <function>gzclose</function>. + </para> + </refsect1> + </refentry> + <refentry id="function.gzpassthru"> + <refnamediv> + <refname>gzpassthru</refname> + <refpurpose> + ì§ì ë íì¼ì ë¨ììë 모ë ë°ì´í를 ì¶ë ¥íë¤. </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>gzpassthru</function></funcdef> - <paramdef>int <parameter>zp</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <para> - Reads to EOF on the given gz-file pointer and writes the - (uncompressed) results to standard output. - </para> - <para> - If an error occurs, returns false. - </para> - <para> - The file pointer must be valid, and must point to a file - successfully opened by <function>gzopen</function>. - </para> - <para> - The gz-file is closed when <function>gzpassthru</function> is - done reading it (leaving <parameter>zp</parameter> useless). - </para> - </refsect1> - </refentry> - - <refentry id="function.gzputs"> - <refnamediv> - <refname>gzputs</refname> - <refpurpose>Write to a gz-file pointer</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>gzputs</function></funcdef> - <paramdef>int <parameter>zp</parameter></paramdef> - <paramdef>string <parameter>str</parameter></paramdef> - <paramdef>int - <parameter><optional>length</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <para> - <function>Gzputs</function> is an alias to - <function>gzwrite</function>, and is identical in every way. - </para> - </refsect1> - </refentry> - - <refentry id="function.gzread"> - <refnamediv> - <refname>gzread</refname> - <refpurpose>Binary-safe gz-file read</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>gzread</function></funcdef> - <paramdef>int <parameter>zp</parameter></paramdef> - <paramdef>int <parameter>length</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>gzread</function> reads up to - <parameter>length</parameter> bytes from the gz-file pointer - referenced by <parameter>zp</parameter>. Reading stops when - <parameter>length</parameter> (uncompressed) bytes have been read - or EOF is reached, whichever comes first. + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>gzpassthru</function> + </funcdef> + <paramdef>int <parameter>zp</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + ì§ì ë .gzíì¼ì EOFì ì½ì¼ë©´ standard outputì¼ë¡ ê²°ê³¼(ìì¶ëì§ ìì) 결과를 ì¶ë ¥íë¤. + </para> + <para> + ìë¬ê° ëë©´ false를 리í´íë¤. + </para> + <para> + íì¼ì ì§ì ì ì íí´ì¼íê³ , <function>gzopen</function>ìí´ ì±ê³µì ì¼ë¡ ì´ë¦° íì¼ì´ì´ì¼ íë¤. + </para> + <para> + <function>gzpassthru</function>ê° ì½ëê²ì ë§ì¹ë©´ .gzíì¼ì ë«íë¤.(leaving <parameter>zp</parameter>ë ë¶íìíë¤). + </para> + </refsect1> + </refentry> + <refentry id="function.gzputs"> + <refnamediv> + <refname>gzputs</refname> + <refpurpose>ì§ì ë .gz íì¼ì 기ë¡íë¤.</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>gzputs</function> + </funcdef> + <paramdef>int <parameter>zp</parameter> + </paramdef> + <paramdef>string <parameter>str</parameter> + </paramdef> + <paramdef>int + <parameter> + <optional>length</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + <function>Gzputs</function>ì <function>gzwrite</function>ì 모ë ë©´ìì ëì¼íë¤. + </para> + </refsect1> + </refentry> + <refentry id="function.gzread"> + <refnamediv> + <refname>gzread</refname> + <refpurpose>.gzë¡ë¶í° ë°ì´í¸ê°ì ì½ì´ë¤ì¸ë¤</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>gzread</function> + </funcdef> + <paramdef>int <parameter>zp</parameter> + </paramdef> + <paramdef>int <parameter>length</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>gzread</function>ì <parameter>zp</parameter>ë¡ë¶í° 참조ë ì§ì ë .gz íì¼ë¡ë¶í° <parameter>length</parameter>ë§í¼ì byteê°ì ì½ì´ë¤ì¸ë¤. <parameter>length</parameter> (ìì¶ëì§ ìì)ë§í¼ì byte를 ì½ê±°ë EOFì ë¤ë¤ë¥´ë©´ ì½ê¸°ë¥¼ ë©ì¶ë¤. (ì²ìì¼ë¡ ëìê°ëê² í¬í¨) </simpara> - <para> - <informalexample> - <programlisting role="php"> + <para> + <informalexample> + <programlisting role="php"> // get contents of a gz-file into a string $filename = "/usr/local/something.txt.gz"; $zd = gzopen ($filename, "r"); $contents = gzread ($zd, 10000); gzclose ($zd); </programlisting> - </informalexample> - </para> - <simpara> - See also <function>gzwrite</function>, <function>gzopen</function>, + </informalexample> + </para> + <simpara> + ì°¸ê³ <function>gzwrite</function>, <function>gzopen</function>, <function>gzgets</function>, <function>gzgetss</function>, - <function>gzfile</function>, and <function>gzpassthru</function>. + <function>gzfile</function>, <function>gzpassthru</function>. </simpara> - </refsect1> - </refentry> - - <refentry id="function.gzrewind"> - <refnamediv> - <refname>gzrewind</refname> - <refpurpose>Rewind the position of a gz-file pointer</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>gzrewind</function></funcdef> - <paramdef>int <parameter>zp</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <para> - Sets the file position indicator for zp to the beginning of the - file stream. - </para> - <para> - If an error occurs, returns 0. - </para> - <para> - The file pointer must be valid, and must point to a file - successfully opened by <function>gzopen</function>. - </para> - <para> - See also <function>gzseek</function> and - <function>gztell</function>. - </para> - </refsect1> - </refentry> - - <refentry id="function.gzseek"> - <refnamediv> - <refname>gzseek</refname> - <refpurpose>Seek on a gz-file pointer</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>gzseek</function></funcdef> - <paramdef>int <parameter>zp</parameter></paramdef> - <paramdef>int <parameter>offset</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <para> - Sets the file position indicator for the file referenced by zp to - offset bytes into the file stream. Equivalent to calling (in C) - <literal>gzseek( zp, offset, SEEK_SET )</literal>. - </para> - <para> - If the file is opened for reading, this function is emulated but + </refsect1> + </refentry> + <refentry id="function.gzrewind"> + <refnamediv> + <refname>gzrewind</refname> + <refpurpose>ì§ì ë .gzíì¼ì 리ìì¸ëíë¤</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>gzrewind</function> + </funcdef> + <paramdef>int <parameter>zp</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + zp를 ì§ììë¡ íì¼ì¤í¸ë¦¼ì ìììì¹ë¡ íì¼ í¬ì§ì ì ëë¤. + </para> + <para> + errorê° ë°ìíë©´ 0ì ë°ííë¤. + </para> + <para> + íì¼ì ì§ì´ì ì íí´ì¼ íê³ , <function>gzopen</function>ì ìí´ ì±ê³µì ì¼ë¡ ì´ë¦° íì¼ì´ì´ì¼ íë¤. + </para> + <para> + ì°¸ê³ <function>gzseek</function>, <function>gztell</function>. + </para> + </refsect1> + </refentry> + <refentry id="function.gzseek"> + <refnamediv> + <refname>gzseek</refname> + <refpurpose>ì§ì ë .gz íì¼ì ê²ìíë¤.</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>gzseek</function> + </funcdef> + <paramdef>int <parameter>zp</parameter> + </paramdef> + <paramdef>int <parameter>offset</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + íì¼ ì¤í¸ë¦¼ ë´ë¶ìì zpì°¸ì¡°ë¡ ì§ì ë íì¼ í¬ì§ì ì offsetì¼ë¡ ì´ëíë¤. Cìì <literal>gzseek( zp, offset, SEEK_SET )</literal>ì í¸ì¶ê³¼ ëì¼íë¤. + </para> + <para> + ë§ì½ íì¼ì´ ì½ê¸°ìì±ì¼ë¡ ì´ë¦° ê²½ì°, ì´ í¨ìë ì뮬ë ì´í¸ ë ì ìì§ë§ ë§¤ì° ë릴ìë ìë¤. ë§ì¼ ì°ê¸° ìì±ì¼ë¡ ì´ë¦°ê²½ì°ìë, ì¤ì§ ìì°¨ê²ìë§ì ì§ìíë¤. +:gzseekë ì ìììì¹ê¹ì§ 0ì ì°ìì¼ë¡ ìì¶íë¤.(ì´ìí´ì ì문ì í¬í¨í©ëë¤.) ì문:If the file is opened for reading, this function is emulated but can be extremely slow. If the file is opened for writing, only forward seeks are supported; gzseek then compresses a sequence of zeroes up to the new starting position. </para> - <para> - Upon success, returns 0; otherwise, returns -1. Note that seeking - past EOF is not considered an error. - </para> - <para> - See also <function>gztell</function> and - <function>gzrewind</function>. + <para> + ì±ê³µí ê²½ì° 0ì ë°ííê³ ; ê·¸ë ì§ ìì ê²½ì° -1ì ë°ííë¤. EOF를 ì§ëë ê²ìì errorì ê³ ë ¤íì§ ìëë¤. </para> - </refsect1> - </refentry> - - <refentry id="function.gztell"> - <refnamediv> - <refname>gztell</refname> - <refpurpose>Tell gz-file pointer read/write position</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>gztell</function></funcdef> - <paramdef>int <parameter>zp</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <para> - Returns the position of the file pointer referenced by - <parameter>zp</parameter>; i.e., its offset into the file - stream. - </para> - <para> - If an error occurs, returns false. - </para> - <para> - The file pointer must be valid, and must point to a file - successfully opened by <function>gzopen</function>. - </para> - <para> - See also <function>gzopen</function>, <function>gzseek</function> - and <function>gzrewind</function>. + <para> + ì°¸ê³ <function>gztell</function>, <function>gzrewind</function>. </para> - </refsect1> - </refentry> - - <refentry id="function.gzwrite"> - <refnamediv> - <refname>gzwrite</refname> - <refpurpose>Binary-safe gz-file write</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>gzwrite</function></funcdef> - <paramdef>int <parameter>zp</parameter></paramdef> - <paramdef>string <parameter>string</parameter></paramdef> - <paramdef>int - <parameter><optional>length</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Gzwrite</function> writes the contents of - <parameter>string</parameter> to the gz-file stream pointed to by - <parameter>zp</parameter>. If the <parameter>length</parameter> - argument is given, writing will stop after - <parameter>length</parameter> (uncompressed) bytes have been - written or the end of <parameter>string</parameter> is reached, - whichever comes first. + </refsect1> + </refentry> + <refentry id="function.gztell"> + <refnamediv> + <refname>gztell</refname> + <refpurpose>ì§ì ë .gz íì¼ì read/write positionì 리í´íë¤</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>gztell</function> + </funcdef> + <paramdef>int <parameter>zp</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + <parameter>zp</parameter>ììí´ ì°¸ì¡°ë íì¼ìì¹ì í¬ì¸í°ë¥¼ ë°ííë¤; ì¦, íì¼ì¤í¸ë¦¼ ë´ë¶ì offset + </para> + <para> + ë§ì¼ ìë¬ê° ë°ìíë©´ false를 ë°í. + </para> + <para> + íì¼ì ì íí ì§ì ëì´ì¼ íê³ , <function>gzopen</function>ììí´ ì±ê³µì ì¼ë¡ ì´ë¦° íì¼ì´ì´ì¼ íë¤. + </para> + <para> + ì°¸ê³ <function>gzopen</function>, <function>gzseek</function>, <function>gzrewind</function>. + </para> + </refsect1> + </refentry> + <refentry id="function.gzwrite"> + <refnamediv> + <refname>gzwrite</refname> + <refpurpose>ì§ì ë stringì .gzíì¼ ì¤í¸ë¦¼ì 기ë¡íë¤.</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>gzwrite</function> + </funcdef> + <paramdef>int <parameter>zp</parameter> + </paramdef> + <paramdef>string <parameter>string</parameter> + </paramdef> + <paramdef>int + <parameter> + <optional>length</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Gzwrite</function>ë <parameter>zp</parameter>ì ìí´ ì§ì ë .gzíì¼ì¤í¸ë¦¼ì <parameter>string</parameter>ì 기ë¡íë¤. + ë§ì¼ <parameter>length</parameter>ê° ì£¼ì´ì§ë©´, <parameter>length</parameter> (ìì¶ëì§ìì) ë°ì´í¸ë§í¼ ì°ì¬ì§ê±°ë, <parameter>string</parameter>ì ëì ëë¬íê±°ë, í¹ì ì´ê¸°íëê±°ëíë©´ 'ì°ê¸°'ê° ì¤ì§ëë¤. </simpara> - <simpara> - Note that if the <parameter>length</parameter> argument is given, - then the <link - linkend="ini.magic-quotes-runtime">magic_quotes_runtime</link> - configuration option will be ignored and no slashes will be - stripped from <parameter>string</parameter>. + <simpara> + ë§ì¼ <parameter>length</parameter>íëª©ì´ ì£¼ì´ì§ë©´, + <link linkend="ini.magic-quotes-runtime">magic_quotes_runtime</link> + íê²½ì¤ì ì 무ìëì´ì§ê³ , <parameter>string</parameter>ìì '/'ì ì ê±°ëì§ ìëë¤ëê²ì ì ìíë¼. </simpara> - <simpara> - See also <function>gzread</function>, <function>gzopen</function>, - and <function>gzputs</function>. + <simpara> + ì°¸ê³ <function>gzread</function>, <function>gzopen</function>, <function>gzputs</function>. </simpara> - </refsect1> - </refentry> - - <refentry id="function.readgzfile"> - <refnamediv> - <refname>readgzfile</refname> - <refpurpose>Output a gz-file</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>readgzfile</function></funcdef> - <paramdef>string <parameter>filename</parameter></paramdef> - <paramdef>int - <parameter><optional>use_include_path</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <para> - Reads a file, decompresses it and writes it to standard - output. - </para> - <para> - <function>Readgzfile</function> can be used to read a file which - is not in gzip format; in this case - <function>readgzfile</function> will directly read from the file - without decompression. - </para> - <para> - Returns the number of (uncompressed) bytes read from the file. If - an error occurs, false is returned and unless the function was - called as <literal>@readgzfile</literal>, an error message is - printed. - </para> - <para> - The file <parameter>filename</parameter> will be opened from the - filesystem and its contents written to standard output. - </para> - <para> - You can use the optional second parameter and set it to "1", if - you want to search for the file in the <link - linkend="ini.include-path">include_path</link>, too. - </para> - <para> - See also <function>gzpassthru</function>, - <function>gzfile</function>, and <function>gzopen</function>. - </para> - </refsect1> - </refentry> - - <refentry id="function.gzcompress"> - <refnamediv> - <refname>gzcompress</refname> - <refpurpose>Gz-compress a string</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>gzcompress</function></funcdef> - <paramdef>string <parameter>data</parameter></paramdef> - <paramdef>int - <parameter><optional>level</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <para> - This function returns a gzip-compressed version of the input - <parameter>data</parameter> or false on errors. The optional - parameter <parameter>level</parameter> can be given as 0 for no - compression up to 9 for maximum compression. - </para> - <para> - See also <function>gzuncompress</function>. - </para> - </refsect1> - </refentry> - - <refentry id="function.gzuncompress"> - <refnamediv> - <refname>gzuncompress</refname> - <refpurpose>Uncompress a gz-compressed string</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>gzuncompress</function></funcdef> - <paramdef>string <parameter>data</parameter></paramdef> - <paramdef>int - <parameter><optional>length</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <para> - This function takes <parameter>data</parameter> compressed by - <function>gzcompress</function> and returns the orignial - uncompressed data or false on error. The function will return an - error if the uncompressed data is more than 256 times the lenght - of the compressed input <parameter>data</parameter> or more than - the optional parameter <parameter>length</parameter>. - </para> - <para> - See also <function>gzcompress</function>. - </para> - </refsect1> - </refentry> - - </reference> - + </refsect1> + </refentry> + <refentry id="function.readgzfile"> + <refnamediv> + <refname>readgzfile</refname> + <refpurpose>.gzíì¼ì ì¶ë ¥íë¤</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>readgzfile</function> + </funcdef> + <paramdef>string <parameter>filename</parameter> + </paramdef> + <paramdef>int + <parameter> + <optional>use_include_path</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + íì¼ì ì½ê³ , ìì¶í´ì 를íê³ standard outputì¼ë¡ ì¶ë ¥íë¤. + </para> + <para> + <function>Readgzfile</function>ì gzip formatì´ ìëëë¼ë ì½ì ì ìë¤.; ì´ ê²½ì° <function>readgzfile</function>ì ë°ë¡ ìì¶í´ì ìì´ íì¼ì ì½ì´ë¤ì´ ì ìë¤. + </para> + <para> + íì¼ë¡ë¶í° ì½ì´ë¤ì¸ ë°ì´í¸ì(ìì¶ëì§ ìì)를 리í´íë¤. ë§ì¼ ìë¬ê° ë°ìíë©´, -<literal>@readgzfile</literal>ë¼ê³ ë¶ë¦¬ì°ë ê²½ì°ê° ìëí- false를 ë°ííê³ , ìë¬ë©ì¸ì§ë¥¼ ì¶ë ¥íë¤. + </para> + <para> + <parameter>filename</parameter>ì íì¼ìì¤í ì¼ë¡ë¶í° ì´ë ¤ì§ê³ , ê·¸ ë´ì©ì standard outputì¼ë¡ ì¶ë ¥ëë¤. + </para> + <para> + <link linkend="ini.include-path">include_path</link>ìì íì¼ì ê²ìíê³ ì ìíë¤ë©´, ëë²ì§¸ ìµì ì íë¼ë¯¸í°ë¥¼ "1"ì ë£ì¼ë©´ ëë¤. + </para> + <para> + ì°¸ê³ <function>gzpassthru</function>, + <function>gzfile</function>, <function>gzopen</function>. + </para> + </refsect1> + </refentry> + <refentry id="function.gzcompress"> + <refnamediv> + <refname>gzcompress</refname> + <refpurpose>.gzë¡ ë¬¸ì를 ìì¶íë¤.</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>gzcompress</function> + </funcdef> + <paramdef>string <parameter>data</parameter> + </paramdef> + <paramdef>int + <parameter> + <optional>level</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + ì´ í¨ìë ì ë ¥ë<parameter>data</parameter>ì gzipìì¶ë²ì ¼ì 리í´íê±°ë ìë¬ë°ìì false를 ë°ííë¤. ìµì ì íë¼ë¯¸í°ì¸ <parameter>level</parameter>ì ìì¶ë¥ ì´ 0ì¸ 0ë¶í° ìµëìì¶ë¥ ì¸ 9ê¹ì§ 주ì´ì§ë¤. + </para> + <para> + ì°¸ê³ <function>gzuncompress</function>. + </para> + </refsect1> + </refentry> + <refentry id="function.gzuncompress"> + <refnamediv> + <refname>gzuncompress</refname> + <refpurpose>gzë¡ ìì¶ë 문ì를 ìì¶í´ì íë¤.</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>gzuncompress</function> + </funcdef> + <paramdef>string <parameter>data</parameter> + </paramdef> + <paramdef>int + <parameter> + <optional>length</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + ì´ í¨ìë <function>gzcompress</function>ë¡ ìì¶ë <parameter>data</parameter>를 ì·¨íì¬, ìì¶ëì§ìì ì본ë°ì´í°ë¥¼ ë°ííê±°ë ìë¬ì ê²½ì° false를 ë°ííë¤. ë§ì¼ ìì¶í´ì ë ë°ì´íê° ìì¶ëì´ ì ë ¥ë <parameter>data</parameter>ë³´ë¤ 256ë°° ì´ìì´ê±°ë ìµì ì íë¼ë¯¸í°ì <parameter>length</parameter>ì´ìì¸ ê²½ì° ìë¬ë¥¼ ë°ííë¤. + </para> + <para> + ì°¸ê³ <function>gzcompress</function>. + </para> + </refsect1> + </refentry> +</reference> <!-- Keep this comment at the end of the file Local variables: mode: sgml
Index: phpdoc/kr/functions/http.xml diff -u phpdoc/kr/functions/http.xml:1.1 phpdoc/kr/functions/http.xml:1.2 --- phpdoc/kr/functions/http.xml:1.1 Tue Jan 9 17:05:47 2001 +++ phpdoc/kr/functions/http.xml Wed Jan 10 06:53:26 2001 @@ -1,4 +1,4 @@ - <reference id="ref.http"> +<reference id="ref.http"> <title>HTTP functions</title> <titleabbrev>HTTP</titleabbrev> Index: phpdoc/kr/functions/zlib.xml diff -u phpdoc/kr/functions/zlib.xml:1.1 phpdoc/kr/functions/zlib.xml:1.2 --- phpdoc/kr/functions/zlib.xml:1.1 Tue Jan 9 17:05:48 2001 +++ phpdoc/kr/functions/zlib.xml Wed Jan 10 06:53:26 2001 @@ -1,44 +1,31 @@ - <reference id="ref.zlib"> - <title>Zlib Compression Functions</title> - <titleabbrev>Zlib</titleabbrev> - <partintro> - <para> - This module uses the functions of <ulink - url="&url.zlib;">zlib</ulink> by Jean-loup Gailly and Mark Adler to - transparently read and write gzip (.gz) compressed files. You have - to use a zlib version >= 1.0.9 with this module. +<reference id="ref.zlib"> + <title>Zlib Compression Functions</title> + <titleabbrev>Zlib</titleabbrev> + <partintro> + <para> + ì´ ëª¨ëì Jean-loup Gailly ê³¼ Mark Adler ì <ulink url="&url.zlib;">zlib</ulink> ì¬ì©íë©° gzip(.gz)ë¡ ìì¶ë íì¼ì ì ì½ê³ ì¸ì ìë¤. ì´ ëª¨ëì zlib 1.0.9ë²ì ¼ ì´ìê³¼ ì¬ì©í ì ìë¤. </para> - <para> - This module contains versions of most of the <link - linkend="ref.filesystem">filesystem</link> functions which work - with gzip-compressed files (and uncompressed files, too, but not + <para> + ì´ ëª¨ëì gzip ìì¶ë íì¼ê³¼ ì°ëíë ëë¶ë¶ì <link linkend="ref.filesystem">filesystem</link> í¨ì ë²ì ¼ì í¬í¨íê³ ìë¤. (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>. + <note> + <para> + íì¬ CVS 4.0.4-dev ë²ì ¼ì .gz-files를 ìí fopen-wrapper를 ìê°íê³ ìë¤. ìì¶ë íì¼ì +ë¤ë£¨ë í¹ë³í 'zlib:'URLì ì¬ì©í ì ì기 ìíì¬ ì¼ë°ì ì¸ f*() íì¼ ì ì´ í¨ìê° ì¬ì©ëë©° <function>fopen</function>í¨ì í¸ì¶ ì ì ì´ë¯¸ ìê³ ìë íì¼ëª ì´ë ê²½ë¡ê° 'zlib:'ì í¨ê» ì íëì´ì¼ íë¤. </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> + ì´ ê²½ì° <literal>fopencookie()</literal> í¨ì를 ì ê³µíë C ë°íì ë¼ì´ë¸ë¬ë¦¬ê° íìíë¤. íì¬ ì´ê²ì ì ê³µíë ë¼ì´ë¸ë¬ë¦¬ë GNU libcê° ì ì¼íë¤. </para> - </note> - - <sect1 id="zlib-example"> - <title>Small code example</title> - <para> - Opens a temporary file and writes a test string to it, then it - prints out the content of this file twice. - </para> - <example> - <title>Small Zlib Example</title> -<programlisting role="php"> + </note> + <sect1 id="zlib-example"> + <title>Small code example</title> + <para> + ìì íì¼ì ì´ì´ í ì¤í¸ 문ì를 기ë¡íê³ , ê·¸ ë´ì©ì ëë² ì¶ë ¥íë¤ . + </para> + <example> + <title>Small Zlib Example</title> + <programlisting role="php"> <?php $filename = tempnam ('/tmp', 'zlibtest').'.gz'; @@ -74,598 +61,569 @@ ?> </programlisting> - </example> - </sect1> - </partintro> - - <refentry id="function.gzclose"> - <refnamediv> - <refname>gzclose</refname> - <refpurpose>Close an open gz-file pointer</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>gzclose</function></funcdef> - <paramdef>int <parameter>zp</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <para> - The gz-file pointed to by zp is closed. - </para> - <para> - Returns true on success and false on failure. - </para> - <para> - The gz-file pointer must be valid, and must point to a file - successfully opened by <function>gzopen</function>. - </para> - </refsect1> - </refentry> - - <refentry id="function.gzeof"> - <refnamediv> - <refname>gzeof</refname> - <refpurpose>Test for end-of-file on a gz-file pointer</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>gzeof</function></funcdef> - <paramdef>int <parameter>zp</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <para> - Returns true if the gz-file pointer is at EOF or an error occurs; - otherwise returns false. - </para> - <para> - The gz-file pointer must be valid, and must point to a file - successfully opened by <function>gzopen</function>. + </example> + </sect1> + </partintro> + <refentry id="function.gzclose"> + <refnamediv> + <refname>gzclose</refname> + <refpurpose>ì§ì ë .gz íì¼ì ë«ëë¤.</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>gzclose</function> + </funcdef> + <paramdef>int <parameter>zp</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + zpììí´ ì§ì ë .gz íì¼ì´ ë«íì§ë¤. + </para> + <para> + ì±ê³µì true를 ì¤í¨ì failure를 ë°ííë¤. + </para> + <para> + .gzíì¼ì ì§ì ì ì íí´ì¼ íê³ , <function>gzopen</function>ì ìí´ ì±ê³µì ì¼ë¡ ì´ë¦° íì¼ì ì§ì í´ì¼ íë¤. + </para> + </refsect1> + </refentry> + <refentry id="function.gzeof"> + <refnamediv> + <refname>gzeof</refname> + <refpurpose>ì§ì ë .gz íì¼ì ëì í ì¤í¸íë¤.</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>gzeof</function> + </funcdef> + <paramdef>int <parameter>zp</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + ì§ì ë .gz íì¼ì ëì´ê±°ë ìë¬ê° ì¼ì´ëë©´ true를 ë°ííê³ ; ê·¸ë ì§ ìì ê²½ì° false를 ë°ííë¤. + </para> + <para> + .gz íì¼ì§ì ì ì íí´ì¼ íê³ , <function>gzopen</function>ì ìí´ ì±ê³µì ì¼ë¡ ì´ë¦° íì¼ì ì§ì í´ì¼ íë¤. + </para> + </refsect1> + </refentry> + <refentry id="function.gzfile"> + <refnamediv> + <refname>gzfile</refname> + <refpurpose>gz íì¼ ë´ì©ì ë°°ì´ë¡ ì½ì´ë¤ì¸ë¤.</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>array <function>gzfile</function> + </funcdef> + <paramdef>string <parameter>filename</parameter> + </paramdef> + <paramdef>int + <parameter> + <optional>use_include_path</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + <function>readgzfile</function>ì ëì¼íë, <function>gzfile</function>ì íì¼ì ë°°ì´ë¡ ë°ííë¤. </para> - </refsect1> - </refentry> - - <refentry id="function.gzfile"> - <refnamediv> - <refname>gzfile</refname> - <refpurpose>Read entire gz-file into an array</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>gzfile</function></funcdef> - <paramdef>string <parameter>filename</parameter></paramdef> - <paramdef>int - <parameter><optional>use_include_path</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <para> - Identical to <function>readgzfile</function>, except that - <function>gzfile</function> returns the file in an array. - </para> - <para> - You can use the optional second parameter and set it to "1", if - you want to search for the file in the <link - linkend="ini.include-path">include_path</link>, too. + <para> + ë§ì¼ <link linkend="ini.include-path">include_path</link>ìì íì¼ì ê²ìí기 ìíë¤ë©´, ëë²ì§¸ ìµì ì íë¼ë¯¸í°ì "1"ì ë£ì¼ë©´ ëë¤. </para> - <para> - See also <function>readgzfile</function>, and + <para> + ì°¸ê³ <function>readgzfile</function>, ì <function>gzopen</function>. </para> - </refsect1> - </refentry> - - <refentry id="function.gzgetc"> - <refnamediv> - <refname>gzgetc</refname> - <refpurpose>Get character from gz-file pointer</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>gzgetc</function></funcdef> - <paramdef>int <parameter>zp</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <para> - Returns a string containing a single (uncompressed) character - read from the file pointed to by zp. Returns FALSE on EOF (as - does <function>gzeof</function>). - </para> - <para> - The gz-file pointer must be valid, and must point to a file - successfully opened by <function>gzopen</function>. + </refsect1> + </refentry> + <refentry id="function.gzgetc"> + <refnamediv> + <refname>gzgetc</refname> + <refpurpose>ì§ì ë .gzíì¼ë¡ë¶í° 문ì를 ì¶ì¶íë¤.</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>gzgetc</function> + </funcdef> + <paramdef>int <parameter>zp</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + zpì ìí´ ì§ì ë íì¼ë¡ë¶í° 문ìì´ì í¬í¨ë ë¨ë¬¸ì(ìì¶ëì§ ìì)를 ë°ííë¤. EOFì ê²½ì° FALSE를 ë°ííë¤(ë§ì¹ <function>gzeof</function>ì²ë¼). </para> - <para> - See also <function>gzopen</function>, and - <function>gzgets</function>. + <para> + .gz íì¼ì ì§ì ì ì íí´ì¼ íê³ ,<function>gzopen</function>ì ìí´ ì±ê³µì ì¼ë¡ ì´ë¦° íì¼ì´ì´ì¼ íë¤. </para> - </refsect1> - </refentry> - - <refentry id="function.gzgets"> - <refnamediv> - <refname>gzgets</refname> - <refpurpose>Get line from file pointer</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>gzgets</function></funcdef> - <paramdef>int <parameter>zp</parameter></paramdef> - <paramdef>int <parameter>length</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <para> - Returns a (uncompressed) string of up to length - 1 bytes read - from the file pointed to by fp. Reading ends when length - 1 - bytes have been read, on a newline, or on EOF (whichever comes - first). - </para> - <para> - If an error occurs, returns false. - </para> - <para> - The file pointer must be valid, and must point to a file - successfully opened by <function>gzopen</function>. - </para> - <para> - See also <function>gzopen</function>, - <function>gzgetc</function>, and <function>fgets</function>. + <para> + ì°¸ê³ <function>gzopen</function>, ê³¼ + <function>gzgets</function>. </para> - </refsect1> - </refentry> - - <refentry id="function.gzgetss"> - <refnamediv> - <refname>gzgetss</refname> - <refpurpose> - Get line from gz-file pointer and strip HTML tags + </refsect1> + </refentry> + <refentry id="function.gzgets"> + <refnamediv> + <refname>gzgets</refname> + <refpurpose>ì§ì ë íì¼ë¡ ë¶í° ë¼ì¸ì ì½ì´ ë¤ì¸ë¤.</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>gzgets</function> + </funcdef> + <paramdef>int <parameter>zp</parameter> + </paramdef> + <paramdef>int <parameter>length</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + fpì ìí´ ì§ì ë íì¼ë¡ë¶í° length - 1 bytesì 문ì¥ì 리í´íë¤. length - 1 bytes를 ì½ê±°ë, ìë¡ì´ ë¼ì¸ì ë§ëê±°ë, EOFì ê²½ì° (í¹ ì²ìì¼ë¡ ëìê°ë ì§), ì½ëê²ì ê·¸ë§ëë¤. + </para> + <para> + ìë¬ê° ì¼ì´ë ê²½ì° false를 ë°ííë¤. + </para> + <para> + íì¼ì ì§ì ì ì íí´ì¼ íê³ , <function>gzopen</function>ì ìí´ ì±ê³µì ì¼ë¡ ì´ë¦° íì¼ì´ì´ì¼ íë¤. + </para> + <para> + ì°¸ê³ <function>gzopen</function>, + <function>gzgetc</function>, <function>fgets</function>. + </para> + </refsect1> + </refentry> + <refentry id="function.gzgetss"> + <refnamediv> + <refname>gzgetss</refname> + <refpurpose> + .gz íì¼ë¡ë¶í° HTML í그를 ì ì¸íê³ í ë¼ì¸ì ì½ëë¤, </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>gzgetss</function></funcdef> - <paramdef>int <parameter>zp</parameter></paramdef> - <paramdef>int <parameter>length</parameter></paramdef> - <paramdef>string - <parameter><optional>allowable_tags</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <para> - Identical to <function>gzgets</function>, except that - <function>gzgetss</function> attempts to strip any HTML and PHP - tags from the text it reads. + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>gzgetss</function> + </funcdef> + <paramdef>int <parameter>zp</parameter> + </paramdef> + <paramdef>int <parameter>length</parameter> + </paramdef> + <paramdef>string + <parameter> + <optional>allowable_tags</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + <function>gzgets</function>ì ëì¼íë, <function>gzgetss</function>ì ì½ì 문ììì HTMLê³¼ PHP + í그를 ì ì¸íë¤. </para> - <para> - You can use the optional third parameter to specify tags which + <para> + ì¸ë²ì§¸ ìµì ì íë¼ë¯¸í°ë¥¼ ì¬ì©íì¬ ëª ìí í그를 ì ì¸íì§ ìì ì ìë¤.You can use the optional third parameter to specify tags which should not be stripped. <note> - <para> - <parameter>Allowable_tags</parameter> was added in PHP 3.0.13, - PHP4B3. - </para> - </note> - </para> - <para> - See also <function>gzgets</function>, - <function>gzopen</function>, and <function>strip_tags</function>. - </para> - </refsect1> - </refentry> - - <refentry id="function.gzopen"> - <refnamediv> - <refname>gzopen</refname> - <refpurpose>Open gz-file</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>gzopen</function></funcdef> - <paramdef>string <parameter>filename</parameter></paramdef> - <paramdef>string <parameter>mode</parameter></paramdef> - <paramdef>int - <parameter><optional>use_include_path</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <para> - Opens a gzip (.gz) file for reading or writing. The mode - parameter is as in <function>fopen</function> ("rb" or "wb") but - can also include a compression level ("wb9") or a strategy: 'f' - for filtered data as in "wb6f", 'h' for Huffman only compression - as in "wb1h". (See the description of deflateInit2 in zlib.h for - more information about the strategy parameter.) - </para> - <para> - <function>Gzopen</function> can be used to read a file which is - not in gzip format; in this case <function>gzread</function> will - directly read from the file without decompression. - </para> - <para> - <function>Gzopen</function> returns a file pointer to the file - opened, after that, everything you read from this file descriptor - will be transparently decompressed and what you write gets - compressed. - </para> - <para> - If the open fails, the function returns false. - </para> - <para> - You can use the optional third parameter and set it to "1", if - you want to search for the file in the <link - linkend="ini.include-path">include_path</link>, too. - </para> - <para> - <example> - <title><function>Gzopen</function> Example</title> - <programlisting role="php"> + <para> + <parameter>Allowable_tags</parameter>ë PHP 3.0.13, + PHP4B3ì í¬í¨ëìë¤. + </para> + </note> + </para> + <para> + ì°¸ê³ <function>gzgets</function>, + <function>gzopen</function>, <function>strip_tags</function>. + </para> + </refsect1> + </refentry> + <refentry id="function.gzopen"> + <refnamediv> + <refname>gzopen</refname> + <refpurpose>.gzíì¼ì ì°ë¤</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>gzopen</function> + </funcdef> + <paramdef>string <parameter>filename</parameter> + </paramdef> + <paramdef>string <parameter>mode</parameter> + </paramdef> + <paramdef>int + <parameter> + <optional>use_include_path</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + gzip (.gz)íì¼ì ì½ê¸° ëë ì°ê¸°ìí´ ì°ë¤. mode íë¼ë¯¸í°ë <function>fopen</function> ("rb" or "wb")ì ê°ê³ , ëí ìì¶ë 벨 ("wb9") ëë stategy를 í¬í¨íë¤: 'f' + for filtered data as in "wb6f", 'h' for Huffman only compression + as in "wb1h". (strategy parameterì ê´í ë³´ë¤ ë§ì ì 보를 ìíë¤ë©´ the description of deflateInit2 in zlib.hë³´ë¼.) + </para> + <para> + <function>Gzopen</function>ì gzip í¬ë©§ì´ ìë íì¼ì ì½ëë° ì¬ì©ë ì ìë¤.; ì´ ê²½ì° <function>gzread</function>ë¡ ìì¶í´ì ìì´ ë°ë¡ íì¼ë¡ ë¶í° ì½ì ì ìë¤. + </para> + <para> + <function>Gzopen</function>ì ì´ê³ ì ì§ì í íì¼ì ë¦¬í´ íë¤. ê·¸ë¦¬ê³ ë ì½ê³ ì íë 모ë ê²ì ìì¶í´ì íê³ , 기ë¡íê³ ìì¶í ì ìë¤. + </para> + <para> + ë§ì¼ ì´ê¸°ì ì¤í¨íë©´ false를 리í´íë¤. + </para> + <para> + ì¸ë²ì§¸ ìµì ì íë¼ë¯¸í°ì "1"ì ë£ì¼ë©´ <link linkend="ini.include-path">include_path</link>ìì íì¼ì ê²ì í ì ìë¤. + </para> + <para> + <example> + <title> + <function>Gzopen</function> Example</title> + <programlisting role="php"> $fp = gzopen ("/tmp/file.gz", "r"); </programlisting> - </example> - </para> - <para> - See also <function>gzclose</function>. - </para> - </refsect1> - </refentry> - - <refentry id="function.gzpassthru"> - <refnamediv> - <refname>gzpassthru</refname> - <refpurpose> - Output all remaining data on a gz-file pointer + </example> + </para> + <para> + ì°¸ê³ <function>gzclose</function>. + </para> + </refsect1> + </refentry> + <refentry id="function.gzpassthru"> + <refnamediv> + <refname>gzpassthru</refname> + <refpurpose> + ì§ì ë íì¼ì ë¨ììë 모ë ë°ì´í를 ì¶ë ¥íë¤. </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>gzpassthru</function></funcdef> - <paramdef>int <parameter>zp</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <para> - Reads to EOF on the given gz-file pointer and writes the - (uncompressed) results to standard output. - </para> - <para> - If an error occurs, returns false. - </para> - <para> - The file pointer must be valid, and must point to a file - successfully opened by <function>gzopen</function>. - </para> - <para> - The gz-file is closed when <function>gzpassthru</function> is - done reading it (leaving <parameter>zp</parameter> useless). - </para> - </refsect1> - </refentry> - - <refentry id="function.gzputs"> - <refnamediv> - <refname>gzputs</refname> - <refpurpose>Write to a gz-file pointer</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>gzputs</function></funcdef> - <paramdef>int <parameter>zp</parameter></paramdef> - <paramdef>string <parameter>str</parameter></paramdef> - <paramdef>int - <parameter><optional>length</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <para> - <function>Gzputs</function> is an alias to - <function>gzwrite</function>, and is identical in every way. - </para> - </refsect1> - </refentry> - - <refentry id="function.gzread"> - <refnamediv> - <refname>gzread</refname> - <refpurpose>Binary-safe gz-file read</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>gzread</function></funcdef> - <paramdef>int <parameter>zp</parameter></paramdef> - <paramdef>int <parameter>length</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>gzread</function> reads up to - <parameter>length</parameter> bytes from the gz-file pointer - referenced by <parameter>zp</parameter>. Reading stops when - <parameter>length</parameter> (uncompressed) bytes have been read - or EOF is reached, whichever comes first. + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>gzpassthru</function> + </funcdef> + <paramdef>int <parameter>zp</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + ì§ì ë .gzíì¼ì EOFì ì½ì¼ë©´ standard outputì¼ë¡ ê²°ê³¼(ìì¶ëì§ ìì) 결과를 ì¶ë ¥íë¤. + </para> + <para> + ìë¬ê° ëë©´ false를 리í´íë¤. + </para> + <para> + íì¼ì ì§ì ì ì íí´ì¼íê³ , <function>gzopen</function>ìí´ ì±ê³µì ì¼ë¡ ì´ë¦° íì¼ì´ì´ì¼ íë¤. + </para> + <para> + <function>gzpassthru</function>ê° ì½ëê²ì ë§ì¹ë©´ .gzíì¼ì ë«íë¤.(leaving <parameter>zp</parameter>ë ë¶íìíë¤). + </para> + </refsect1> + </refentry> + <refentry id="function.gzputs"> + <refnamediv> + <refname>gzputs</refname> + <refpurpose>ì§ì ë .gz íì¼ì 기ë¡íë¤.</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>gzputs</function> + </funcdef> + <paramdef>int <parameter>zp</parameter> + </paramdef> + <paramdef>string <parameter>str</parameter> + </paramdef> + <paramdef>int + <parameter> + <optional>length</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + <function>Gzputs</function>ì <function>gzwrite</function>ì 모ë ë©´ìì ëì¼íë¤. + </para> + </refsect1> + </refentry> + <refentry id="function.gzread"> + <refnamediv> + <refname>gzread</refname> + <refpurpose>.gzë¡ë¶í° ë°ì´í¸ê°ì ì½ì´ë¤ì¸ë¤</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>gzread</function> + </funcdef> + <paramdef>int <parameter>zp</parameter> + </paramdef> + <paramdef>int <parameter>length</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>gzread</function>ì <parameter>zp</parameter>ë¡ë¶í° 참조ë ì§ì ë .gz íì¼ë¡ë¶í° <parameter>length</parameter>ë§í¼ì byteê°ì ì½ì´ë¤ì¸ë¤. <parameter>length</parameter> (ìì¶ëì§ ìì)ë§í¼ì byte를 ì½ê±°ë EOFì ë¤ë¤ë¥´ë©´ ì½ê¸°ë¥¼ ë©ì¶ë¤. (ì²ìì¼ë¡ ëìê°ëê² í¬í¨) </simpara> - <para> - <informalexample> - <programlisting role="php"> + <para> + <informalexample> + <programlisting role="php"> // get contents of a gz-file into a string $filename = "/usr/local/something.txt.gz"; $zd = gzopen ($filename, "r"); $contents = gzread ($zd, 10000); gzclose ($zd); </programlisting> - </informalexample> - </para> - <simpara> - See also <function>gzwrite</function>, <function>gzopen</function>, + </informalexample> + </para> + <simpara> + ì°¸ê³ <function>gzwrite</function>, <function>gzopen</function>, <function>gzgets</function>, <function>gzgetss</function>, - <function>gzfile</function>, and <function>gzpassthru</function>. + <function>gzfile</function>, <function>gzpassthru</function>. </simpara> - </refsect1> - </refentry> - - <refentry id="function.gzrewind"> - <refnamediv> - <refname>gzrewind</refname> - <refpurpose>Rewind the position of a gz-file pointer</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>gzrewind</function></funcdef> - <paramdef>int <parameter>zp</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <para> - Sets the file position indicator for zp to the beginning of the - file stream. - </para> - <para> - If an error occurs, returns 0. - </para> - <para> - The file pointer must be valid, and must point to a file - successfully opened by <function>gzopen</function>. - </para> - <para> - See also <function>gzseek</function> and - <function>gztell</function>. - </para> - </refsect1> - </refentry> - - <refentry id="function.gzseek"> - <refnamediv> - <refname>gzseek</refname> - <refpurpose>Seek on a gz-file pointer</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>gzseek</function></funcdef> - <paramdef>int <parameter>zp</parameter></paramdef> - <paramdef>int <parameter>offset</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <para> - Sets the file position indicator for the file referenced by zp to - offset bytes into the file stream. Equivalent to calling (in C) - <literal>gzseek( zp, offset, SEEK_SET )</literal>. - </para> - <para> - If the file is opened for reading, this function is emulated but + </refsect1> + </refentry> + <refentry id="function.gzrewind"> + <refnamediv> + <refname>gzrewind</refname> + <refpurpose>ì§ì ë .gzíì¼ì 리ìì¸ëíë¤</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>gzrewind</function> + </funcdef> + <paramdef>int <parameter>zp</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + zp를 ì§ììë¡ íì¼ì¤í¸ë¦¼ì ìììì¹ë¡ íì¼ í¬ì§ì ì ëë¤. + </para> + <para> + errorê° ë°ìíë©´ 0ì ë°ííë¤. + </para> + <para> + íì¼ì ì§ì´ì ì íí´ì¼ íê³ , <function>gzopen</function>ì ìí´ ì±ê³µì ì¼ë¡ ì´ë¦° íì¼ì´ì´ì¼ íë¤. + </para> + <para> + ì°¸ê³ <function>gzseek</function>, <function>gztell</function>. + </para> + </refsect1> + </refentry> + <refentry id="function.gzseek"> + <refnamediv> + <refname>gzseek</refname> + <refpurpose>ì§ì ë .gz íì¼ì ê²ìíë¤.</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>gzseek</function> + </funcdef> + <paramdef>int <parameter>zp</parameter> + </paramdef> + <paramdef>int <parameter>offset</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + íì¼ ì¤í¸ë¦¼ ë´ë¶ìì zpì°¸ì¡°ë¡ ì§ì ë íì¼ í¬ì§ì ì offsetì¼ë¡ ì´ëíë¤. Cìì <literal>gzseek( zp, offset, SEEK_SET )</literal>ì í¸ì¶ê³¼ ëì¼íë¤. + </para> + <para> + ë§ì½ íì¼ì´ ì½ê¸°ìì±ì¼ë¡ ì´ë¦° ê²½ì°, ì´ í¨ìë ì뮬ë ì´í¸ ë ì ìì§ë§ ë§¤ì° ë릴ìë ìë¤. ë§ì¼ ì°ê¸° ìì±ì¼ë¡ ì´ë¦°ê²½ì°ìë, ì¤ì§ ìì°¨ê²ìë§ì ì§ìíë¤. +:gzseekë ì ìììì¹ê¹ì§ 0ì ì°ìì¼ë¡ ìì¶íë¤.(ì´ìí´ì ì문ì í¬í¨í©ëë¤.) ì문:If the file is opened for reading, this function is emulated but can be extremely slow. If the file is opened for writing, only forward seeks are supported; gzseek then compresses a sequence of zeroes up to the new starting position. </para> - <para> - Upon success, returns 0; otherwise, returns -1. Note that seeking - past EOF is not considered an error. - </para> - <para> - See also <function>gztell</function> and - <function>gzrewind</function>. + <para> + ì±ê³µí ê²½ì° 0ì ë°ííê³ ; ê·¸ë ì§ ìì ê²½ì° -1ì ë°ííë¤. EOF를 ì§ëë ê²ìì errorì ê³ ë ¤íì§ ìëë¤. </para> - </refsect1> - </refentry> - - <refentry id="function.gztell"> - <refnamediv> - <refname>gztell</refname> - <refpurpose>Tell gz-file pointer read/write position</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>gztell</function></funcdef> - <paramdef>int <parameter>zp</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <para> - Returns the position of the file pointer referenced by - <parameter>zp</parameter>; i.e., its offset into the file - stream. - </para> - <para> - If an error occurs, returns false. - </para> - <para> - The file pointer must be valid, and must point to a file - successfully opened by <function>gzopen</function>. - </para> - <para> - See also <function>gzopen</function>, <function>gzseek</function> - and <function>gzrewind</function>. + <para> + ì°¸ê³ <function>gztell</function>, <function>gzrewind</function>. </para> - </refsect1> - </refentry> - - <refentry id="function.gzwrite"> - <refnamediv> - <refname>gzwrite</refname> - <refpurpose>Binary-safe gz-file write</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>gzwrite</function></funcdef> - <paramdef>int <parameter>zp</parameter></paramdef> - <paramdef>string <parameter>string</parameter></paramdef> - <paramdef>int - <parameter><optional>length</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Gzwrite</function> writes the contents of - <parameter>string</parameter> to the gz-file stream pointed to by - <parameter>zp</parameter>. If the <parameter>length</parameter> - argument is given, writing will stop after - <parameter>length</parameter> (uncompressed) bytes have been - written or the end of <parameter>string</parameter> is reached, - whichever comes first. + </refsect1> + </refentry> + <refentry id="function.gztell"> + <refnamediv> + <refname>gztell</refname> + <refpurpose>ì§ì ë .gz íì¼ì read/write positionì 리í´íë¤</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>gztell</function> + </funcdef> + <paramdef>int <parameter>zp</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + <parameter>zp</parameter>ììí´ ì°¸ì¡°ë íì¼ìì¹ì í¬ì¸í°ë¥¼ ë°ííë¤; ì¦, íì¼ì¤í¸ë¦¼ ë´ë¶ì offset + </para> + <para> + ë§ì¼ ìë¬ê° ë°ìíë©´ false를 ë°í. + </para> + <para> + íì¼ì ì íí ì§ì ëì´ì¼ íê³ , <function>gzopen</function>ììí´ ì±ê³µì ì¼ë¡ ì´ë¦° íì¼ì´ì´ì¼ íë¤. + </para> + <para> + ì°¸ê³ <function>gzopen</function>, <function>gzseek</function>, <function>gzrewind</function>. + </para> + </refsect1> + </refentry> + <refentry id="function.gzwrite"> + <refnamediv> + <refname>gzwrite</refname> + <refpurpose>ì§ì ë stringì .gzíì¼ ì¤í¸ë¦¼ì 기ë¡íë¤.</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>gzwrite</function> + </funcdef> + <paramdef>int <parameter>zp</parameter> + </paramdef> + <paramdef>string <parameter>string</parameter> + </paramdef> + <paramdef>int + <parameter> + <optional>length</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Gzwrite</function>ë <parameter>zp</parameter>ì ìí´ ì§ì ë .gzíì¼ì¤í¸ë¦¼ì <parameter>string</parameter>ì 기ë¡íë¤. + ë§ì¼ <parameter>length</parameter>ê° ì£¼ì´ì§ë©´, <parameter>length</parameter> (ìì¶ëì§ìì) ë°ì´í¸ë§í¼ ì°ì¬ì§ê±°ë, <parameter>string</parameter>ì ëì ëë¬íê±°ë, í¹ì ì´ê¸°íëê±°ëíë©´ 'ì°ê¸°'ê° ì¤ì§ëë¤. </simpara> - <simpara> - Note that if the <parameter>length</parameter> argument is given, - then the <link - linkend="ini.magic-quotes-runtime">magic_quotes_runtime</link> - configuration option will be ignored and no slashes will be - stripped from <parameter>string</parameter>. + <simpara> + ë§ì¼ <parameter>length</parameter>íëª©ì´ ì£¼ì´ì§ë©´, + <link linkend="ini.magic-quotes-runtime">magic_quotes_runtime</link> + íê²½ì¤ì ì 무ìëì´ì§ê³ , <parameter>string</parameter>ìì '/'ì ì ê±°ëì§ ìëë¤ëê²ì ì ìíë¼. </simpara> - <simpara> - See also <function>gzread</function>, <function>gzopen</function>, - and <function>gzputs</function>. + <simpara> + ì°¸ê³ <function>gzread</function>, <function>gzopen</function>, <function>gzputs</function>. </simpara> - </refsect1> - </refentry> - - <refentry id="function.readgzfile"> - <refnamediv> - <refname>readgzfile</refname> - <refpurpose>Output a gz-file</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>readgzfile</function></funcdef> - <paramdef>string <parameter>filename</parameter></paramdef> - <paramdef>int - <parameter><optional>use_include_path</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <para> - Reads a file, decompresses it and writes it to standard - output. - </para> - <para> - <function>Readgzfile</function> can be used to read a file which - is not in gzip format; in this case - <function>readgzfile</function> will directly read from the file - without decompression. - </para> - <para> - Returns the number of (uncompressed) bytes read from the file. If - an error occurs, false is returned and unless the function was - called as <literal>@readgzfile</literal>, an error message is - printed. - </para> - <para> - The file <parameter>filename</parameter> will be opened from the - filesystem and its contents written to standard output. - </para> - <para> - You can use the optional second parameter and set it to "1", if - you want to search for the file in the <link - linkend="ini.include-path">include_path</link>, too. - </para> - <para> - See also <function>gzpassthru</function>, - <function>gzfile</function>, and <function>gzopen</function>. - </para> - </refsect1> - </refentry> - - <refentry id="function.gzcompress"> - <refnamediv> - <refname>gzcompress</refname> - <refpurpose>Gz-compress a string</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>gzcompress</function></funcdef> - <paramdef>string <parameter>data</parameter></paramdef> - <paramdef>int - <parameter><optional>level</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <para> - This function returns a gzip-compressed version of the input - <parameter>data</parameter> or false on errors. The optional - parameter <parameter>level</parameter> can be given as 0 for no - compression up to 9 for maximum compression. - </para> - <para> - See also <function>gzuncompress</function>. - </para> - </refsect1> - </refentry> - - <refentry id="function.gzuncompress"> - <refnamediv> - <refname>gzuncompress</refname> - <refpurpose>Uncompress a gz-compressed string</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>gzuncompress</function></funcdef> - <paramdef>string <parameter>data</parameter></paramdef> - <paramdef>int - <parameter><optional>length</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <para> - This function takes <parameter>data</parameter> compressed by - <function>gzcompress</function> and returns the orignial - uncompressed data or false on error. The function will return an - error if the uncompressed data is more than 256 times the lenght - of the compressed input <parameter>data</parameter> or more than - the optional parameter <parameter>length</parameter>. - </para> - <para> - See also <function>gzcompress</function>. - </para> - </refsect1> - </refentry> - - </reference> - + </refsect1> + </refentry> + <refentry id="function.readgzfile"> + <refnamediv> + <refname>readgzfile</refname> + <refpurpose>.gzíì¼ì ì¶ë ¥íë¤</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>readgzfile</function> + </funcdef> + <paramdef>string <parameter>filename</parameter> + </paramdef> + <paramdef>int + <parameter> + <optional>use_include_path</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + íì¼ì ì½ê³ , ìì¶í´ì 를íê³ standard outputì¼ë¡ ì¶ë ¥íë¤. + </para> + <para> + <function>Readgzfile</function>ì gzip formatì´ ìëëë¼ë ì½ì ì ìë¤.; ì´ ê²½ì° <function>readgzfile</function>ì ë°ë¡ ìì¶í´ì ìì´ íì¼ì ì½ì´ë¤ì´ ì ìë¤. + </para> + <para> + íì¼ë¡ë¶í° ì½ì´ë¤ì¸ ë°ì´í¸ì(ìì¶ëì§ ìì)를 리í´íë¤. ë§ì¼ ìë¬ê° ë°ìíë©´, -<literal>@readgzfile</literal>ë¼ê³ ë¶ë¦¬ì°ë ê²½ì°ê° ìëí- false를 ë°ííê³ , ìë¬ë©ì¸ì§ë¥¼ ì¶ë ¥íë¤. + </para> + <para> + <parameter>filename</parameter>ì íì¼ìì¤í ì¼ë¡ë¶í° ì´ë ¤ì§ê³ , ê·¸ ë´ì©ì standard outputì¼ë¡ ì¶ë ¥ëë¤. + </para> + <para> + <link linkend="ini.include-path">include_path</link>ìì íì¼ì ê²ìíê³ ì ìíë¤ë©´, ëë²ì§¸ ìµì ì íë¼ë¯¸í°ë¥¼ "1"ì ë£ì¼ë©´ ëë¤. + </para> + <para> + ì°¸ê³ <function>gzpassthru</function>, + <function>gzfile</function>, <function>gzopen</function>. + </para> + </refsect1> + </refentry> + <refentry id="function.gzcompress"> + <refnamediv> + <refname>gzcompress</refname> + <refpurpose>.gzë¡ ë¬¸ì를 ìì¶íë¤.</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>gzcompress</function> + </funcdef> + <paramdef>string <parameter>data</parameter> + </paramdef> + <paramdef>int + <parameter> + <optional>level</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + ì´ í¨ìë ì ë ¥ë<parameter>data</parameter>ì gzipìì¶ë²ì ¼ì 리í´íê±°ë ìë¬ë°ìì false를 ë°ííë¤. ìµì ì íë¼ë¯¸í°ì¸ <parameter>level</parameter>ì ìì¶ë¥ ì´ 0ì¸ 0ë¶í° ìµëìì¶ë¥ ì¸ 9ê¹ì§ 주ì´ì§ë¤. + </para> + <para> + ì°¸ê³ <function>gzuncompress</function>. + </para> + </refsect1> + </refentry> + <refentry id="function.gzuncompress"> + <refnamediv> + <refname>gzuncompress</refname> + <refpurpose>gzë¡ ìì¶ë 문ì를 ìì¶í´ì íë¤.</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>gzuncompress</function> + </funcdef> + <paramdef>string <parameter>data</parameter> + </paramdef> + <paramdef>int + <parameter> + <optional>length</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + ì´ í¨ìë <function>gzcompress</function>ë¡ ìì¶ë <parameter>data</parameter>를 ì·¨íì¬, ìì¶ëì§ìì ì본ë°ì´í°ë¥¼ ë°ííê±°ë ìë¬ì ê²½ì° false를 ë°ííë¤. ë§ì¼ ìì¶í´ì ë ë°ì´íê° ìì¶ëì´ ì ë ¥ë <parameter>data</parameter>ë³´ë¤ 256ë°° ì´ìì´ê±°ë ìµì ì íë¼ë¯¸í°ì <parameter>length</parameter>ì´ìì¸ ê²½ì° ìë¬ë¥¼ ë°ííë¤. + </para> + <para> + ì°¸ê³ <function>gzcompress</function>. + </para> + </refsect1> + </refentry> +</reference> <!-- Keep this comment at the end of the file Local variables: mode: sgml