This is a function of the browser. A review of the HTTP standard reveals
that there is currently no official standard (to my knowledge) for the
server to inform the browser of the filename for a stream it sends. There
is however a fairly broadly accepted method, which I involves sending
lines as part of the headers, as in:

            print "Content-type: $TYPE\n";
            print "Content-Disposition: attachment; filename=\"$FILENAME\"\n\n";

You will need to set $TYPE and $FILENAME appropriately.

- Marc

On Tue, 17 Oct 2000, Derek Martin wrote:

> 
>   Ok so finally I got my page working, and it works for everyone except
> one of our junior administrators, who, rather than seeing the output of
> the perl script, gets a file box asking him to save the .pl file.
> 
> ???
> 
>   
> -- 
> Derek Martin
> Senior System Administrator
> Mission Critical Linux
> [EMAIL PROTECTED] 
> 
> 
> **********************************************************
> To unsubscribe from this list, send mail to
> [EMAIL PROTECTED] with the following text in the
> *body* (*not* the subject line) of the letter:
> unsubscribe gnhlug
> **********************************************************
> 


**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to