filenames on file download

From: Date: Thu, 22 Feb 2001 21:16:41 +0000
Subject: filenames on file download
Groups: php.general 
Request: Send a blank email to php-general+get-41217@lists.php.net to get a copy of this message
Hi, I'm storing files in DB. basically (what's important in this case), I have two columns: file_name - contains the original filename file_src - blob which contains the actual file now the user clicks on a link something like download.php?file_id=123 and the php script will spit out the file. is there any way (some header magic) to make the user browser to offer the file to be saved as "file_name" ? Rgds, Tfr --==< tfr@cafe.ee >==< http://tfr.cafe.ee/ >==< +372-50-17621 >==--

« previous php.general (#41217) next »