RE: [PHP-WIN] saving images which have been assigned a strange name

From: Date: Mon, 09 Apr 2001 10:34:30 +0000
Subject: RE: [PHP-WIN] saving images which have been assigned a strange name
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-6575@lists.php.net to get a copy of this message
I did not try Content-Length, but I have tried Content-Type with Content-Disposition which did not work. Regards, | Linux Urmil Parikh | Is it really safe to turn on your computer? -----Original Message----- >It has happened with me too. IE takes the download filename from the URL one >clicks to download it. Not if you send out the correct headers: header("Content-Type: $mimetype"; header("Content-Length: $filelength"); header("Content-Disposition: attachment; filename=$filename"); Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.com http://www.dtonline.org

« previous php.windows (#6575) next »