Posted by Chung Leong on 07/07/06 18:38
nark wrote:
> In article <1152219618.192234.99980@p79g2000cwp.googlegroups.com>,
> chernyshevsky@hotmail.com says...
> >
> > Krustov wrote:
> > > Using the standard php functions found on most web servers - how do i
> > > zip selected folders and have the zip file emailed to myself .
> > >
> > > Not as a cron job or anything automated - it will be a option i will add
> > > in the control panel .
> >
> > Try this class I wrote some time ago:
> >
> > http://www.conradish.net/bobo/show_source.php?filename=flyzip.php
> >
> > It uses the zlib functions to compress the data. If the function aren't
> > there, then it just package the files.
> >
> >
>
> Please forgive a silly question but can you tell me why you made it a
> "class" rather than a simple set of functions?
>
> nark
No reason really. The code actually started out as a just a set of
functions. I wrapped it in a class when I used it as an example for an
article in php|architect. You know how people tend to think anything
dress up as a "component" is more sophisticated.
[Back to original message]
|