thanks so much! it worked now. i just addedd addslashes($image_data) and saved it to the database. and when downloading, i get the original image. thanks a lot.
MrTufty wrote: > You also need to check that you're running addslashes() on the image > data before putting it into the database, else you'll run into trouble > there. I did. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
