I believe you can do $this->layout = 'none' in your action so that it
won't render anything.  I don't have the CakePHP manual in front of me
or anything so you may want to dig a little deeper. :)

On 8/9/06, darx <[EMAIL PROTECTED]> wrote:
>
> Hi bakers,
> my action need to gather  some params from an external server (via post
> method) and write data on my db. I don't want to deliver an answer to
> the external server nor to display a page. Just get the data and put in
> the db.
> My action would be like this...
>
> function getresponse()
>     {
>         if (!empty($this->params['data']))
>         {
>                if ($this->myModel->save($this->params['data']))
>             {
>                // nothing happens
>             }
>         }
>
>     }
>
> If i try this cake return a Missing view error.
> Is there a norender() or exit function?
> If not, can i write a plain php page that do the job? maybe outside of
> cake framework...
>
> thnx for any tips
>
>
> >
>


-- 
Chris Hartjes

"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf

@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard

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

Reply via email to