Scott Alexander wrote:
Hi,
Is it possible with Apache::File to set the name of the filename?
(Apache/1.3.31 (Unix) mod_perl/1.29 configured)
For the record:
$fh = Apache::File->new($file) or warn "Can't open $file $!";
$r->content_type('application/octet-stream');
$r->headers_out->set('Content-D
Hi,
Is it possible with Apache::File to set the name of the filename?
(Apache/1.3.31 (Unix) mod_perl/1.29 configured)
I have
print "Content-type: application/octet-stream\n\n" ;
$file = "myfile_to_send.doc" ;
$fh = Apache::File->new($file) or warn "Can't open $file $!";
$r->headers_out->set("Conten