> > Now I have the pdf file in $var. How do I display it with Embperl? >
I really thinks it's easier (and faster) to make an Alias in your httpd.conf e.g. Alias /pdf /usr/local/pdf If you really want to do this with Embperl, you either need a directory (or a fileextention) that is served by Embperl only (no EMbperl::Object) or your Embperl::Object base template must serve the pdf and exit afterwards. Something like: [- $http_headers_out{'content-type'} = 'application/pdf' ; $escmode = 0 ; -][+ $var +] Do must not have any spaces outside of the brackets Gerald -------------------------------------------------------------- Gerald Richter ecos electronic communication services gmbh IT-Securitylösungen * dynamische Webapplikationen * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice: +49 6133 939-122 WWW: http://www.ecos.de/ Fax: +49 6133 939-333 -------------------------------------------------------------- | | Besuchen Sie uns auf der CeBIT vom 12. - 19. März 2003 | Messe Hannover * Halle 17 * Stand F 36 | http://www.cebit.de/ | +------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]