Re: requirePost() in Security Component, what about PUT method?

2008-02-21 Thread Andrés Otárola

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 cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



requirePost() in Security Component, what about PUT method?

2008-02-21 Thread Andrés Otárola

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 cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



cakephp 1.2 pdfb helper

2008-02-07 Thread Andrés Otárola

Hi people!

I've been having trouble using the library pdfb as a helper, even
following the guide http://bakery.cakephp.org/articles/view/barcode-with-cake
( well, that's for 1.1 anyways...)

...the result is a broken pdf document



any help would be appreciated...

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---