Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jun 2000 13:23:45 +0200 (CEST)
From:      Leif Neland <leifn@neland.dk>
To:        freebsd-isp@freebsd.org
Subject:   OT: cgi should produce a file with a different name
Message-ID:  <Pine.BSF.4.05.10006301317490.96965-100000@arnold.neland.dk>

next in thread | raw e-mail | index | archive | help
"Slightly" off-topic, so kill me off-line :-)

I have a form, which sends data to a cgi-script.

This script generates a datafile, which should be downloaded.
So the type should probably be application/data.

But how do I suggest to the browser, that the name should be
"data123.dat", where 123 is varying, depending on the input, and not
"script.cgi"

I'm using perl and CGI.pm

Leif




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.10006301317490.96965-100000>