Can someone help me with just a quick re-naming of a file?
I edit an image but it always returns the same image before it was edited I guess because its caching the image. I have tried everything with cache and give up.
So after editing the image i want to assign it a new name and return that to the view.
So it will always be a new file name after each edit.
592254896.jpg to rand() + the original extension.
Thanks,
Dave
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment