Sorry for the lame subject, I'm not sure how to title what I would like
to do.

I have a series of audio files saved on my web server.  Information
about the audio files are contained in a database (artist, title, date,
etc).  The audio files are named after the primary key, thus ensuring
uniqueness of name (i.e. 1.mp3, 2.mp3, 3.mp3...).  When someone
downloads the audio file, instead of seeing 1.mp3 for instance, I'd
like to be able to create the filename that they see based upon the
information for that file in the table.  Is there a way that I can use
Cake to perform this renaming?  For instance, if a user goes to
/audio/download/1, their download dialogue will read something like
artist-title.mp3.

Thanks to you all!


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

Reply via email to