From owner-freebsd-isp Fri Jun 30 4:33:11 2000 Delivered-To: freebsd-isp@freebsd.org Received: from ns.internet.dk (ns.internet.dk [194.19.140.1]) by hub.freebsd.org (Postfix) with ESMTP id C753A37B97A for ; Fri, 30 Jun 2000 04:33:01 -0700 (PDT) (envelope-from leifn@neland.dk) Received: (from uucp@localhost) by ns.internet.dk (8.9.3/8.9.3) with UUCP id NAA32017 for freebsd-isp@freebsd.org; Fri, 30 Jun 2000 13:32:59 +0200 (CEST) (envelope-from leifn@neland.dk) Received: from localhost (localhost [127.0.0.1]) by arnold.neland.dk (8.9.3/8.9.3) with ESMTP id NAA01193 for ; Fri, 30 Jun 2000 13:23:45 +0200 (CEST) (envelope-from leifn@neland.dk) Date: Fri, 30 Jun 2000 13:23:45 +0200 (CEST) From: Leif Neland To: freebsd-isp@freebsd.org Subject: OT: cgi should produce a file with a different name Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "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