note 84185 added to function.ziparchive-addfile

From: Date: Wed, 02 Jul 2008 13:53:21 +0000
Subject: note 84185 added to function.ziparchive-addfile
Groups: php.notes 
Request: Send a blank email to php-notes+get-141069@lists.php.net to get a copy of this message
If u want only Create a new Zip File : .- <?php $zip = new ZipArchive(); $filename = "newzip.zip"; if ($zip->open($filename, ZIPARCHIVE::CREATE)!==TRUE) { exit("cannot open <$filename>\n"); } $zip->addFromString("firstfile." . time() . ".txt", \ "This is the first file in our ZIP, added as firstfile.txt.\n"); $zip->close(); ?> ---- Server IP: 69.147.83.197 Probable Submitter: 190.190.62.19 ---- Manual Page -- http://www.php.net/manual/en/function.ziparchive-addfile.php Edit -- https://master.php.net/note/edit/84185 Del: integrated -- https://master.php.net/note/delete/84185/integrated Del: useless -- https://master.php.net/note/delete/84185/useless Del: bad code -- https://master.php.net/note/delete/84185/bad+code Del: spam -- https://master.php.net/note/delete/84185/spam Del: non-english -- https://master.php.net/note/delete/84185/non-english Del: in docs -- https://master.php.net/note/delete/84185/in+docs Del: other reasons-- https://master.php.net/note/delete/84185 Reject -- https://master.php.net/note/reject/84185 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#141069) next »