Re: [PHP] Zip files: generate text file in archive on the fly
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Zip files: generate text file in archive on the fly
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
RE: [PHP] ZIp files? Help needed...
This might interest you: http://marc.theaimsgroup.com/?l=php-general&m=100453803524687&w=2 You can install Winzip on the machine, then shell out to unzip the file. Robert V. Zwink http://www.zwink.net/daid.php -Original Message- From: Emiliano Marmonti [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 29, 2001 1:07 PM To: Lista PHP Subject: [PHP] ZIp files? Help needed... Hi people, I´m looking for alternatives in using zip files. Our users should upload into our server zipped files and we need to unzip this files and process it. I have read there is a library that could be used like an extension, but I´ve tried to use it from NT and don´t seems like the extension was added and when I try to use the commands PHP says that don´t recognoice the commands. In the other hand somebody has told me that PHP must be recompiled for using this library. Our platform is Windows NT but in the future could be Solaris. Anybody could send me your experience? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] ZIp files? Help needed...
Hi people, I´m looking for alternatives in using zip files. Our users should upload into our server zipped files and we need to unzip this files and process it. I have read there is a library that could be used like an extension, but I´ve tried to use it from NT and don´t seems like the extension was added and when I try to use the commands PHP says that don´t recognoice the commands. In the other hand somebody has told me that PHP must be recompiled for using this library. Our platform is Windows NT but in the future could be Solaris. Anybody could send me your experience?
[PHP] ZIP Files?
Hi people, I´m looking for alternatives in using zip files. Our users should upload into our server zipped files and we need to unzip this files and process it. I have read there is a library that could be used like an extension, but I´ve tried to use it from NT and don´t seems like the extension was added and when I try to use the commands PHP says that don´t recognoice the commands. In the other hand somebody has told me that PHP must be recompiled for using this library. Our platform is Windows NT but in the future could be Solaris. Anybody could send me your experience? Thanks in advance. Emiliano -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]