If you mean you want to your users to be prompted with a download window use readfile, otherwise I don't think I understand the question.
Here's something I did for pdf files. http://pastie.org/private/igu2zad2lasz4vjowvdya On 29 November 2010 06:42, Miqdad Ali <[email protected]> wrote: > friends, > I want code for downloading image files in cakephp > -------------------------------------------------------------------- > Miqdad Ali > http://www.miqdadali.co.cc > > > Check out the new CakePHP Questions site http://cakeqs.org and help > others with their CakePHP related questions. > > 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]<cake-php%[email protected]>For > more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > -- Kind Regards Stephen www.ninjacodermonkey.co.uk Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
