« Return to Thread: PDF upload problems (prob OT)?

Re[2]: PDF upload problems (prob OT)?

by tokpela :: Rate this Message:

Reply to Author | View in Thread

On Thu, November 6, 2008 8:04 am, Dr. Jennifer Nussbaum wrote:
> # $document is already grabbed from the database
> $c->res->output($document); # overloaded to stringify to
> $document->document

My feeling is that you are treating the output as text when in fact a PDF
file is a binary file.

HTH,

Christopher Taranto


_______________________________________________
List: Catalyst@...
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@.../
Dev site: http://dev.catalyst.perl.org/

 « Return to Thread: PDF upload problems (prob OT)?