yes again...
I have the zip.lib.php file from PHPMyAdmin and i want to use it... the problem is that i can't figure out how.
I have also read the tut at zend.com but still have no clue...
I tried:
Code: Select all
<?php
include "zip.lib.php";
$filename="poweredby.png";
$fp=fopen($filename,"rb");
$data=fread($fp,filesize($filename));
$zipfile = new zipfile();
$zipfile -> addFile($data, $filename );
$dump_buffer = $zipfile -> file();
?>any help???