You are here: Re: [PHP] Zipping on the fly « PHP « IT news, forums, messages
Re: [PHP] Zipping on the fly

Posted by Andr� Medeiros on 06/29/05 21:45

On Wed, 2005-06-29 at 13:28 -0400, Jack Jackson wrote:
> hi,
> I'm providing a download script which lets trusted users view a
> directory and select a file to download; I don't want to store the files
> zipped on the server. Is there a fast, built-in way to zip the selected
> file on the fly and let the user download the zipped copy? I looked at
> php.net/zip and didn't see any...
>
> Thanks in advance
>

I would create a temporary file and zip it using the exec() function.
IIRC, PHP has functions to generate temporary file names.

Good luck.

A;

 

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

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