You are here: Re: Zip some folders and send by email « PHP Programming Language « IT news, forums, messages
Re: Zip some folders and send by email

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация