Re: Zip files: generate text file in archive on the fly

From: Date: Sun, 17 Oct 2010 23:16:27 +0000
Subject: Re: Zip files: generate text file in archive on the fly
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-308775@lists.php.net to get a copy of this message
Have you considered writing to a temporary file? On 18/10/2010, at 11:55 AM, Dotan Cohen wrote: > I need to provide a download of a zip archive containing three files. > This is fairly straightforward in PHP so long as one is working with > files that already exist. However, I need to customise one of the > files (a simple text file) with the user name and other info before > zipping. I see no mention of this in the fine manual, and even > googling has led me nowhere. Ideas? Am I missing something obvious? > > Thanks! > > -- > Dotan Cohen > > http://gibberish.co.il > http://what-is-what.com > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > --- Simon Welsh Admin of http://simon.geek.nz/ Who said Microsoft never created a bug-free program? The blue screen never, ever crashes! http://www.thinkgeek.com/brain/gimme.cgi?wid=81d520e5e

« previous php.general (#308775) next »