yes, i've enabled the security component. something interesting! when I
delete [_token][fields] and [_token][key] it won't throw a 404 so I think
the main problem is from these security stuff.

On Mon, Aug 22, 2011 at 12:27 AM, Tilen Majerle <[email protected]>wrote:

> ok, check form action,
> have you enabled Security component...?...this could be a problem
>
> --
> Lep pozdrav, Tilen Majerle
> http://majerle.eu
>
>
>
> 2011/8/21 Sepehr Laal <[email protected]>
>
>> yeah but you do know that this doesn't make a different!
>>
>> On Sun, Aug 21, 2011 at 11:53 PM, Tilen Majerle 
>> <[email protected]>wrote:
>>
>>> controller method should be underscored, so test_p_o_s_t or idk:
>>> test_post
>>> --
>>> Lep pozdrav, Tilen Majerle
>>> http://majerle.eu
>>>
>>>
>>>
>>> 2011/8/21 3p3r <[email protected]>
>>>
>>>>  Hi all.
>>>> I have a no Model/View controller and i'm trying to send data to it
>>>> from a form with POST method. the form is not editable cuz it's not
>>>> mine. it's in another website. when I navigate to this public function
>>>> via URL, everything is fine. but when I try to send data to it, it'll
>>>> give me a 404 error. anyone knows how to deal with this issue?
>>>> here is the form:
>>>> ************************************************
>>>> <form accept-charset="utf-8" method="post" action="/remitments/
>>>> testPOST">
>>>> ... some inputs
>>>> </form>
>>>> ************************************************
>>>>
>>>> and here is the controller function:
>>>> ************************************************
>>>> function testPOST()
>>>> {
>>>>        $this->disableCache();
>>>>        $this->layout = 'none';
>>>>        $this->autoRender = false;
>>>>        echo "<pre>";
>>>>        print_r($_POST);
>>>>        echo "</pre>";
>>>> }
>>>> ************************************************
>>>>
>>>> --
>>>> 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
>>>>
>>>
>>>  --
>>> 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
>>>
>>
>>
>>
>> --
>> *------------------------------------------------------------*
>> *
>>
>> ------------------------------------------------------------
>> *
>>
>>  --
>> 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
>>
>
>  --
> 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
>



-- 
*------------------------------------------------------------*
*

------------------------------------------------------------
*

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

Reply via email to