On Fri, October 6, 2006 4:01 pm, Andy Hultgren wrote:
> /*************************************/
> $data = $_POST;
> $stuff = "\n \n Post contains:";
>
> foreach($data as $prop => $val) {
>      $stuff .= "\n {$prop}: {$val}";
> }
> /*************************************/

<pre><?php var_dump($_POST);?></pre>

PHP does pretty minimal munging of the POST data.

It's unlikely that Flash is sending what you think it's sending.

Even if it is, you have two options:

1. Use HTTP_RAW_POST_DATA (turn it on in PHP) and write your own Flash
array parser in PHP.

2. Convince Flash to POST data more like PHP wants it:
id[a][prop1]=a1&id[a][prop2]=a2&id[b][prop1]=b1...

#2 will probably be WAY easier, unless Flash is even more broken than
I think.  And I think Flash is pretty broken. :-)

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to