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