Thank you Traique and jonknee for the reply.

But as i'm using session, it doesn't allow me to send header info
later.

On May 7, 5:32 pm, jonknee <[EMAIL PROTECTED]> wrote:
> > 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