Ich würde gerne einen Downlaod machen, wo die ausgewählten Datein in ein ZIP gespeichert werden und das man dann downloaden kann! geht das überhaupt mit php?
MFG DÖNERMAN
MFG DÖNERMAN
// Create new zip file in the directory below the current one
$test = new zip_file("../example.zip");
// All files added will be relative to the directory in which the script is
// executing since no basedir is set.
// Create archive in memory
// Do not recurse through subdirectories
// Do not store file paths in archive
$test->set_options(array('inmemory' => 1, 'recurse' => 0, 'storepaths' => 0));
// Add lib/archive.php to archive
$test->add_files("src/archive.php");
// Add all jpegs and gifs in the images directory to archive
$test->add_files(array("images/*.jp*g", "images/*.gif"));
// Store all exe files in bin without compression
$test->store_files("bin/*.exe");
// Create archive in memory
$test->create_archive();
// Send archive to user for download
$test->download_file();
$test = "hallo";
$test = new zip_file("example.zip");
Kommentar