I would like to serve some pdf documents with Embperl. I don't want Apache
to do it if I can avoid it.
I can't just put "$http_headers_out{'Content-Type'} = 'application/pdf';"
at the top; this is in the middle of an EmbperlObject page that has more
work to do.
Solution 1. Open a window with JavaScript. Write to the window with one or
more window.document.write statements.
Backdraw: A lot of effort has to be put into escaping pdf characters that
could annoy JavaScript
Solution 2: Put the file somewhere where I can use an URL.
Backdraw: I have to maintain some kind of temporary directory and unique
file names.
Solution 3: EmbPerl will help me somehow
--
Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582
Kaki Data tshirts, merchandize Fax: 3816 2501
Howitzvej 75 Åben 12.00-18.00 Web: www.suse.dk
2000 Frederiksberg Lørdag 12.00-16.00 Email:[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- new Embperl person (read idiot) + Apache 2.0 + Win32 -&g... Bruce G. Williams
- Re: new Embperl person (read idiot) + Apache 2.0 + ... Randy Kobes
- epmain.c compile error? Edouard Lagache
- Re: epmain.c compile error? Gerald Richter
- Re: Serve pdf files. Kaare Rasmussen
- Re: Serve pdf files. Gerald Richter
- Re: Serve pdf files. Ask Bjoern Hansen
- Re: Serve pdf files. Kaare Rasmussen
- Re: Serve pdf files. Gerald Richter
- ModPerl registry woes? Edouard Lagache
- Re: ModPerl registry woes? Randy Kobes
- Thanks! Happy Camel! (Re: ModPerl regi... Edouard Lagache
- Embperl::Execute with your variabl... Edouard Lagache
- Re: Embperl::Execute with your... Kee Hinckley
- PerlSetEnv EMBPERL_OBJECT_BASE... Edouard Lagache