cvs: phpdoc-zh /reference/filesystem ini.xml reference.xml /reference/filesystem/functions fputcsv.xml
| From: | Dallas Thunder | Date: | Sun, 04 Sep 2005 05:41:02 +0000 |
| Subject: | cvs: phpdoc-zh /reference/filesystem ini.xml reference.xml /reference/filesystem/functions fputcsv.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-2583@lists.php.net to get a copy of this message | ||
dallas Sun Sep 4 01:41:02 2005 EDT
Added files:
/phpdoc-zh/reference/filesystem/functions fputcsv.xml
Modified files:
/phpdoc-zh/reference/filesystem ini.xml reference.xml
Log:
Add new file and decorations.
http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/ini.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc-zh/reference/filesystem/ini.xml
diff -u phpdoc-zh/reference/filesystem/ini.xml:1.6 phpdoc-zh/reference/filesystem/ini.xml:1.7
--- phpdoc-zh/reference/filesystem/ini.xml:1.6 Sun Aug 14 12:05:20 2005
+++ phpdoc-zh/reference/filesystem/ini.xml Sun Sep 4 01:41:01 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<!-- $Author: dallas $ -->
<!-- EN-Revision: 1.12 Maintainer: dallas Status: ready -->
<section id="filesystem.configuration">
@@ -13,7 +13,7 @@
<row>
<entry>Ãû³Æ</entry>
<entry>ĬÈÏÖµ</entry>
- <entry>×÷Ó÷¶Î§</entry>
+ <entry>¿ÉÐ޸ķ¶Î§</entry>
<entry>¸üмǼ</entry>
</row>
</thead>
@@ -128,7 +128,7 @@
</term>
<listitem>
<para>
- ¶¨ÒåÄäÃû ftp µÄÃÜÂ루ÄãµÄ email µØÖ·£©¡£
+ ¶¨ÒåÄäÃû ftp µÄÃÜÂ루email µØÖ·£©¡£
</para>
</listitem>
</varlistentry>
http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/reference.xml?r1=1.7&r2=1.8&ty=u
Index: phpdoc-zh/reference/filesystem/reference.xml
diff -u phpdoc-zh/reference/filesystem/reference.xml:1.7
phpdoc-zh/reference/filesystem/reference.xml:1.8
--- phpdoc-zh/reference/filesystem/reference.xml:1.7 Mon Aug 29 16:35:10 2005
+++ phpdoc-zh/reference/filesystem/reference.xml Sun Sep 4 01:41:01 2005
@@ -1,55 +1,58 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<!-- $Author: dallas $ -->
<!-- EN-Revision: 1.11 Maintainer: dallas Status: ready -->
- <reference id="ref.filesystem">
- <title>Filesystem Îļþϵͳº¯Êý</title>
- <titleabbrev>Filesystem</titleabbrev>
+<reference id="ref.filesystem">
+ <title>Filesystem Îļþϵͳº¯Êý</title>
+ <titleabbrev>Filesystem</titleabbrev>
- <partintro>
- <section id="filesystem.intro">
+ <partintro>
+ <section id="filesystem.intro">
&reftitle.intro;
- <para>
- </para>
- </section>
-
- <section id="filesystem.requirements">
- &reftitle.required;
- <para>
-
ÎÞÐèÍⲿ¿âÎļþ¾Í¿ÉÒÔ¼ÓÈë±¾À©Õ¹Ä£¿éµÄÖ§³Ö¡£µ«ÈçҪʹ
PHP ÔÚLinux
- ÉÏÖ§³ÖµÄ LFS (large files) µÄ»°£¬±ØÐëÓÐ×îÐ嵀 glibc
- ²¢ÔÚ±àÒëʱ¼ÓÈë²ÎÊý£º <literal>-D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64</literal>
- </para>
- </section>
-
- <section id="filesystem.installation">
- &reftitle.install;
- &no.install;
- </section>
- &reference.filesystem.ini;
-
- <section id="filesystem.resources">
- &reftitle.resources;
- <para>
- </para>
+ <para>
+ </para>
+ </section>
+
+ <section id="filesystem.requirements">
+ &reftitle.required;
+ <para>
+
ÎÞÐèÍⲿ¿âÎļþ¾Í¿ÉÒÔ¼ÓÈë±¾À©Õ¹Ä£¿éµÄÖ§³Ö¡£µ«ÈçҪʹ
PHP ÔÚ Linux
+ ÉÏÖ§³Ö LFS£¨´óÎļþ£©µÄ»°£¬±ØÐëÓÐ×îÐ嵀 glibc
+ ²¢ÔÚ±àÒëʱ¼ÓÈë²ÎÊý£º<literal>-D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64</literal>¡£
+ </para>
+ </section>
+
+ <section id="filesystem.installation">
+ &reftitle.install;
+ &no.install;
+ </section>
+
+ &reference.filesystem.ini;
+
+ <section id="filesystem.resources">
+ &reftitle.resources;
+ <para>
+ </para>
+ </section>
- </section>
+ &reference.filesystem.constants;
- &reference.filesystem.constants;
-
- <section id="filesystem.seealso">
+ <section id="filesystem.seealso">
&reftitle.seealso;
- <simpara>
- Ïà¹Øº¯Êý²Î¼û<link
linkend="ref.dir">Ŀ¼º¯Êý</link>ºÍ<link
- linkend="ref.exec">³ÌÐòÖ´Ðк¯Êý</link>¡£
- </simpara>
- </section>
+ <simpara>
+ Ïà¹Øº¯Êý²Î¼û<link
linkend="ref.dir">Ŀ¼º¯Êý</link>ºÍ<link
+ linkend="ref.exec">³ÌÐòÖ´Ðк¯Êý</link>¡£
+ </simpara>
+ <simpara>
+ ÓйؿÉÒÔÓÃÓÚÔ¶³ÌÎļþµÄ¸÷ÖÖ URL
·â×°ÐÒéµÄ˵Ã÷ÁÐ±í£¬²Î¼û<xref linkend="wrappers"/>¡£
+ </simpara>
+ </section>
- </partintro>
+ </partintro>
-&reference.filesystem.functions;
+ &reference.filesystem.functions;
- </reference>
+</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
http://cvs.php.net/co.php/phpdoc-zh/reference/filesystem/functions/fputcsv.xml?r=1.1&p=1
Index: phpdoc-zh/reference/filesystem/functions/fputcsv.xml
+++ phpdoc-zh/reference/filesystem/functions/fputcsv.xml
<?xml version="1.0" encoding="gb2312"?>
<!-- $Revision: 1.1 $ -->
<!-- $Author: dallas $ -->
<!-- EN-Revision: 1.3 Maintainer: dallas Status: ready -->
<refentry id="function.fputcsv">
<refnamediv>
<refname>fputcsv</refname>
<refpurpose>½«Ðиñʽ»¯Îª CSV ²¢Ð´ÈëÎļþÖ¸Õë</refpurpose>
</refnamediv>
<refsect1>
<title>˵Ã÷</title>
<methodsynopsis>
<type>int</type><methodname>fputcsv</methodname>
<methodparam><type>resource</type><parameter>handle</parameter></methodparam>
<methodparam
choice="opt"><type>array</type><parameter>fields</parameter></methodparam>
<methodparam
choice="opt"><type>string</type><parameter>delimiter</parameter></methodparam>
<methodparam
choice="opt"><type>string</type><parameter>enclosure</parameter></methodparam>
</methodsynopsis>
<para>
<function>fputcsv</function> ½«Ò»ÐУ¨ÓÃ
<parameter>fields</parameter> Êý×é´«µÝ£©¸ñʽ»¯Îª CSV
¸ñʽ²¢Ð´ÈëÓÉ <parameter>handle</parameter>
Ö¸¶¨µÄÎļþ¡£·µ»ØÐ´Èë×Ö·û´®µÄ³¤¶È£¬³ö´íÔò·µ»Ø
&false;¡£
</para>
<para>
¿ÉÑ¡µÄ <parameter>delimiter</parameter>
²ÎÊýÉ趨×ֶηֽç·û£¨Ö»ÔÊÐíÒ»¸ö×Ö·û£©¡£Ä¬ÈÏΪ¶ººÅ£º<literal>,</literal>¡£
</para>
<para>
¿ÉÑ¡µÄ <parameter>enclosure</parameter>
²ÎÊýÉ趨×Ö¶Î×ֶλ·ÈÆ·û£¨Ö»ÔÊÐíÒ»¸ö×Ö·û£©¡£Ä¬ÈÏΪ˫ÒýºÅ£º<literal>"</literal>¡£
</para>
<para>
<example>
<title><function>fputcsv</function> Àý×Ó</title>
<programlisting role="php">
<![CDATA[
<?php
$list = array (
'aaa,bbb,ccc,dddd',
'123,456,789',
'"aaa","bbb"'
);
$fp = fopen('file.csv', 'w');
foreach ($list as $line) {
fputcsv($fp, split(',', $line));
}
fclose($fp);
?>
]]>
</programlisting>
</example>
</para>
¬e.line-endings;
<para>
²Î¼û <function>fgetcsv</function>¡£
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->