http://book.cakephp.org/view/431/disableCache


or display image as $html->image('dog.gif?nocache='.time());

On Nov 4, 12:08 am, "Dave" <[email protected]> wrote:
> 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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to