What are your HTTP headers? On Dec 8, 1:44 pm, euromark <[email protected]> wrote: > thats really weird. > happening on windows/wamp - php5.3.8 > maybe some bug? > > the firefox firebug debug data for POST reads: > > Parameter application/x-www-form-urlencoded > _method PUT > data[UserInfo][country_id... 1 > data[UserInfo][gender] 1 > data[User][id] 4ed23d7c-dcc8-4d3b-8e7b-0fe01810f9bf > data[User][username] test > > so it seems to put everything by default. > As far as I know, POST is more generic and PUT mainly used for upload > etc > > On 8 Dez., 21:04, Tilen Majerle <[email protected]> wrote: > > > > > > > > > i was checking this what you said that didn't work and results > > checking: $this->request->is('post') > > > in Google Chrome (latest): true > > Firefox (latest): true > > IE 8: true > > > i'm on xampp 1.7.3 with php 5.3.5 > > and Cake version: 2.0.4 > > > so problem is somewhere in your project or maybe server configuration > > -- > > Lep pozdrav, Tilen Majerlehttp://majerle.eu > > > 2011/12/8 euromark <[email protected]> > > > > For 2.0 I just changed all > > > if (!empty($this->data)) > > > to > > > if ($this->request->is('post')) > > > > But now it haunts be. > > > In FF8 Cakephp $this->request does say "false" after a normal post > > > (whereas firebug itself says it is a post) > > > but is('put') returns true > > > Same with every other browser it seems. > > > > so it never saves... > > > whats going on? > > > > -- > > > Our newest site for the community: CakePHP Video Tutorials > > >http://tv.cakephp.org > > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organdhelp > > > others with their CakePHP related questions. > > > > To unsubscribe from this group, send email to > > > [email protected] For more options, visit this group > > > athttp://groups.google.com/group/cake-php
-- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
