Perhaps you should try:
$post_data = file_get_contents ('php://input');

That will tell you if your data is being posted correctly.

On May 14, 4:11 pm, Marcus <[EMAIL PROTECTED]> wrote:
> On May 14, 9:11 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
>
> > > > I don't follow you here.  You mean you can't access the $_POST variable 
> > > > at all?
>
> > > The $_POST variable is empty if I try to dump it with debug() in my
> > > controller ...
>
> > Okay, I'm even more confused now (but that's common these days).
>
> > I'm assuming you have an action that you are sending your POST request
> > to, correct?
>
> I've a Flash file (SWF) which calls an action in my Cake application
> with a POST request and sends some XML in the POST body. I debugged it
> on the protocol layer (http; with Firebug and Fiddler) and the POST
> request contains the XML as POST body and looks fine.
>
> But if I want to access the $_POST (with 'debug($_POST)' in the called
> action - yes this action exists) only an empty array is shown. That
> confuses me a little bit ;)
>
> Marcus


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

Reply via email to