I am developing a community site in which members can upload photos of themselves for display on their page. My plan is to store the image files in a database. When a photo is need for display, it is retrieved from the database and stored in a directory in the Cake directory structure. It can them be displayed on the page using "$html- >image()".
I have two questions: 1. How do I use the Fle->delete() to delete the image from the directory (some time after it has been displayed)? (I have looked as several postings that used the delete function but don't fully understand how it works) 2. Is there any way to use the image directly from the database search without placing it in the directory? Thanks in advance for any help offered. Peter - --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
