Re: Setting the name of a file in a download....

From: Date: Tue, 23 Apr 2002 07:35:31 +0000
Subject: Re: Setting the name of a file in a download....
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-94122@lists.php.net to get a copy of this message
At 3:59 PM +1000 23/4/02, Brian White wrote: >Is there any way to get it to save as a file called "file.zip"? >Is there any header I can set? The headers it currently returns header("Content-type: application/octet-stream; name=\"file.zip\""); header("Content-Disposition: attachment; filename=\"file.zip\""); header("Content-transfer-encoding: binary"); ...R.

« previous php.general (#94122) next »