cvs: phpdoc-zh /reference/filesystem/functions copy.xml delete.xml
| From: | Dallas Thunder | Date: | Mon, 23 Sep 2002 10:22:07 +0000 |
| Subject: | cvs: phpdoc-zh /reference/filesystem/functions copy.xml delete.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-631@lists.php.net to get a copy of this message | ||
dallas Mon Sep 23 06:22:07 2002 EDT
Added files:
/phpdoc-zh/reference/filesystem/functions copy.xml delete.xml
Log:
Translation completed.
Index: phpdoc-zh/reference/filesystem/functions/copy.xml
+++ phpdoc-zh/reference/filesystem/functions/copy.xml
<?xml version="1.0" encoding="gb2312"?>
<!-- $Revision: 1.1 $ -->
<!-- $Author: dallas $ -->
<!-- EN-Revision: 1.2 Maintainer: dallas Status: ready -->
<refentry id="function.copy">
<refnamediv>
<refname>copy</refname>
<refpurpose>¿½±´Îļþ</refpurpose>
</refnamediv>
<refsect1>
<title>˵Ã÷</title>
<methodsynopsis>
<type>int</type><methodname>copy</methodname>
<methodparam><type>string</type><parameter>source</parameter></methodparam>
<methodparam><type>string</type><parameter>dest</parameter></methodparam>
</methodsynopsis>
<para>
¿½±´Ò»¸öÎļþ¡£Èç¹û¿½±´³É¹¦Ôò·µ»Ø &true;£¬·ñÔò·µ»Ø
&false;¡£
<example>
<title><function>copy</function> Àý×Ó</title>
<programlisting role="php">
<![CDATA[
if (!copy($file, $file.'.bak')) {
print ("failed to copy $file...<br>\n");
}
]]>
</programlisting>
</example>
</para>
<note>
<para>
´Ó PHP 4.3.0 ¿ªÊ¼£¬Èç¹ûÆôÓÃÁË¡°fopen
wrappers¡±µÄ»°£¬<parameter>source</parameter> ºÍ
<parameter>dest</parameter> ¶¼¿ÉÒÔÊÇ URL¡£¸ü¶àϸ½Ú¼û
<function>fopen</function>¡£
</para>
</note>
<warning>
<para>
Èç¹ûÄ¿±êÎļþÒÑ´æÔÚ£¬½«»á±»¸²¸Ç¡£
</para>
</warning>
<para>
²Î¼û
<function>move_uploaded_file</function>£¬<function>rename</function>
ºÍÊÖ²áÖйØÓÚ<link
linkend="features.file-upload">ÎļþÉÏ´«´¦Àí</link>Ò»½Ú¡£
</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
-->
Index: phpdoc-zh/reference/filesystem/functions/delete.xml
+++ phpdoc-zh/reference/filesystem/functions/delete.xml
<?xml version="1.0" encoding="gb2312"?>
<!-- $Revision: 1.1 $ -->
<!-- $Author: dallas $ -->
<!-- EN-Revision: 1.2 Maintainer: dallas Status: ready -->
<refentry id="function.delete">
<refnamediv>
<refname>delete</refname>
<refpurpose>A dummy manual entry</refpurpose>
</refnamediv>
<refsect1>
<title>˵Ã÷</title>
<methodsynopsis>
<type>void</type><methodname>delete</methodname>
<methodparam><type>string</type><parameter>file</parameter></methodparam>
</methodsynopsis>
<para>
ÕâÊǸöÐé¹¹µÄÊÖ²áÌõÄ¿À´¸øÄÇЩ±¾À´ÊÇÕÒ
<function>unlink</function> »òÕß
<function>unset</function> µÄÈËÌṩһЩÓÐÓõÄÐÅÏ¢¡£
</para>
<para>
²Î¼û <function>unlink</function>
À´É¾³ýÎļþ£¬<function>unset</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
-->