i did something like this with a captcha.  i rendered it in a separate
call:

<img src="/path/to/img/view" /> (or mabye use the $html->image)

in the controller you'd need a different layout, i made my own image
layout that looked like:

<?php header("Content-type: image/png"); ?>
<?php echo $content_for_layout; ?>

then in your view you could do something like this:

<?php echo $imgHelper->img($data); ?>


On Oct 13, 7:39 pm, MikeK <[EMAIL PROTECTED]> wrote:
> Well I think I get it -- I can't use Header so I HAVE to put it in a
> tmp file? Confirmation appreciated.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to