fliptop wrote:

merrill - i'm a little late on this thread, and the other suggestions are
valid, but here's one way to serve up files w/o using a direct link by
taking advantage of CGI.pm's header() function:

my $cgi = new CGI;
print $cgi->header('application/pdf');

Actually, it's the same as just:


print "Content-Type: application/pdf\n\n";

CGI.pm is great but it's an overkill for just printing HTTP Content-Type header.

-zsdc.


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to