dams            Thu Aug 22 08:32:55 2002 EDT

  Modified files:              
    /phpdoc/en/reference/filesystem/functions   rename.xml 
  Log:
  added an example
  
  
Index: phpdoc/en/reference/filesystem/functions/rename.xml
diff -u phpdoc/en/reference/filesystem/functions/rename.xml:1.3 
phpdoc/en/reference/filesystem/functions/rename.xml:1.4
--- phpdoc/en/reference/filesystem/functions/rename.xml:1.3     Sun May 12 13:28:59 
2002
+++ phpdoc/en/reference/filesystem/functions/rename.xml Thu Aug 22 08:32:55 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.2 -->
   <refentry id="function.rename">
    <refnamediv>
@@ -19,6 +19,16 @@
     </para> 
     <para> 
      &return.success;
+    <example>
+     <title>Example with <function>rename</function></title>
+     <programlisting role="php">
+<![CDATA[
+<?php
+  rename("/tmp/tmp_file.txt", "/home/user/login/docs/my_file.txt");
+?>
+]]>
+     </programlisting>
+    </example>
     </para>
    </refsect1>
   </refentry>



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to