> hi! i'm developing an application where the user uploads and downloads
> file. But during downloads, the files like jpegs, txt, those openable
> in the browser open in the browser itself. but i need them to come out
> as pop-ups or dialouge box with "save as" or a download manager/
> accelerator software to assist in download. how can this be done?
> thanks for the help!

You need to send a content-disposition header. Example in PHP:

<?php header('Content-Disposition: attachment; filename="my.jpg"'); ?>

The header() docs have more information: http://us.php.net/header

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to