Re: [PHP] Problem receiving POSTed data

2006-10-06 Thread Andy Hultgren
Hang on - my php code may be working fine. It might be a problem with my actionscript code - particularly that the LoadVars object I'm using to send the data might not be able to take multidimensional data (though it definitely does not say that *anywhere* in the documentation!!). Stupid actions

Re: [PHP] Problem receiving POSTed data

2006-10-06 Thread Richard Lynch
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}"; > } > /*/ PHP does pretty minimal

Re: [PHP] Problem receiving POSTed data

2006-10-06 Thread Andy Hultgren
Am working on #2 right now... On 10/6/06, Richard Lynch <[EMAIL PROTECTED]> wrote: 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 {$pr

Re: [PHP] Problem receiving POSTed data

2006-10-06 Thread Andy Hultgren
Problem solved: it was indeed that the flash object did not like multidimensional data. I didn't change my PHP code one little bit. But I changed my my ActionScript code to write the data in a 1-dimensional form as follows: /*/ for(var i in _level0) { i