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

  --==< [EMAIL PROTECTED] >==< http://tfr.cafe.ee/ >==< +372-50-17621 >==-- 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to