note 41728 deleted from function.header by nlopess

From: Date: Mon, 17 May 2004 14:08:33 +0000
Subject: note 41728 deleted from function.header by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-69716@lists.php.net to get a copy of this message
Note Submitter: spam@martinanso.com ---- In response to the contribution from motion at abv dot bg (16 Apr 2004): thank you, this works great for forcing a 'save' prompt for all downloads. Note however that I needed to add a readfile() command after the header() commands to make this script work, eg readfile($output_file). When I included the script without the readfile() command, I got 'could not open the file' errors when I tried to open downloaded files.

« previous php.notes (#69716) next »