some ...info for me???

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
basdog22
Forum Contributor
Posts: 158
Joined: Sun Nov 30, 2003 3:03 pm
Location: Greece

some ...info for me???

Post 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:
User avatar
ol4pr0
Forum Regular
Posts: 926
Joined: Thu Jan 08, 2004 11:22 am
Location: ecuador

zip ...

Post by ol4pr0 »

i have never used it however you might wanna try the following statement

require("zip.lib.php");
Post Reply