Forget it, I've found the solution http://book.cakephp.org/nl/view/183/creating-forms
:) On 21 feb, 12:07, "Andrés Otárola" <[EMAIL PROTECTED]> wrote: > I want to check that a form was sent using a post request, using > Security component requirePost() as usual, works for a normal POST > request, but when I'm sending an edit form, there is a hiden field > called "_method", and it's value is "PUT", the problem here is that it > isn't recognized as a valid POST request, so it is "blackholed". > > is this a bug of Security Component? or Am I using it the wrong way? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
