Page 1 of 1

some ...info for me???

Posted: Fri Jan 09, 2004 2:22 pm
by basdog22
hi,

:D :D :D :D

yes again... :D

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. :x

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();
?>
but nothing... it looks like something good is going to happen but all i get are errors

:cry: :cry: :cry: :cry: :cry: :cry:

any help??? :roll:

zip ...

Posted: Fri Jan 09, 2004 4:48 pm
by ol4pr0
i have never used it however you might wanna try the following statement

require("zip.lib.php");