For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > October 2006 > cvs: phpdoc /en/reference/zip/functions ziparchive-addfile.xml









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phpdoc /en/reference/zip/functions ziparchive-addfile.xml
Pierre-Alain Joye

2006-10-13, 3:57 am

pajoye Fri Oct 13 07:35:01 2006 UTC

Modified files:
/phpdoc/en/reference/zip/functions ziparchive-addfile.xml
Log:
- wrong )


http://cvs.php.net/viewvc.cgi/phpdo...4&diff_format=u
Index: phpdoc/en/reference/zip/functions/ziparchive-addfile.xml
diff -u phpdoc/en/reference/zip/functions/ziparchive-addfile.xml:1.3 phpdoc/en/reference/zip/functions/ziparchive-addfile.xml:1.4
--- phpdoc/en/reference/zip/functions/ziparchive-addfile.xml:1.3 Sat Aug 12 15:54:51 2006
+++ phpdoc/en/reference/zip/functions/ziparchive-addfile.xml Fri Oct 13 07:35:01 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<refentry id="function.ziparchive-addfile">
<refnamediv>
<refname>ZipArchive::addFile</refname>
@@ -60,7 +60,7 @@
<?php
$zip = new ZipArchive;
if ($zip->open('test.zip') === TRUE) {
- $zip->addFile('/path/to/index.txt'), 'newname.txt');
+ $zip->addFile('/path/to/index.txt', 'newname.txt');
$zip->close();
echo 'ok';
} else {
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com