tags:

views:

23

answers:

1

Hi there, Iam currently working on an symfony app that needs to be able to output some documents as pdf, which is no problem at all using TCPDF.

What I try to do now is to generate a zip file containing one ore more of these pdf´s generated on the fly. What I basically do is (using php´s) zip library:

1.) Create a new zip archive. 2.) Add all the PDF´s 3.) Output the generated zip.

The strange thing is, that this works when using some demo pdf´s on sone different server. However when I try to export my own documents (spezified by url, such as url_dor('documents/pdf?id/1') ) , the page just keeps loading for forever until I reach max time...

To be honest I have no clue at all why this does not work. Any help is greatly appreciated!

A: 

Well the time it takes to zip the pdfs (or any file) is going to vary with the size and number of those PDF's. So the first question you should be asking is how long is it going to take to process these?

prodigitalson
well one pdf´s loads really fast and not noticibly long or anything. besides that, I am testing this only adding one document to the archive, so time should not be an issue...
Kristian Hildebrandt
and it works perfectly when using any pdf other than the one created by symfony...
Kristian Hildebrandt