Re: [PHP] create archive file in memory with zipArchive class

2010-02-10 Thread Richard Quadling
On 9 February 2010 16:47, Ryan Sun wrote: > thanks, Richard, maybe you are right, the actual file name is not my job > I changed it to 'php://temp' but its still the same, nothing has been > changed... > > On Tue, Feb 9, 2010 at 11:13 AM, Richard Quadling > wrote: >> On 9 February 2010 15:42, Ry

Re: [PHP] create archive file in memory with zipArchive class

2010-02-09 Thread Ryan Sun
thanks, Richard, maybe you are right, the actual file name is not my job I changed it to 'php://temp' but its still the same, nothing has been changed... On Tue, Feb 9, 2010 at 11:13 AM, Richard Quadling wrote: > On 9 February 2010 15:42, Ryan Sun wrote: >> I want to generate credential zip file

Re: [PHP] create archive file in memory with zipArchive class

2010-02-09 Thread Richard Quadling
On 9 February 2010 15:42, Ryan Sun wrote: > I want to generate credential zip file for user on the fly with > zipArchive and render it for download, so I created following code > - > $zip = new ZipArchive(); > $filename = '/tmp/xxx.zip'; > if