I setup a WWWForm in Unity:
var form = new WWWForm ();
form.AddField ( "key", "val" );
.............
Then, in php:
$fieldnames = array_keys($_POST);
$fieldvalues = array_values($_POST);
And then can not find out why $fieldnames[0] doesn’t return anything, while $fieldvalues[0] returns “val” as expected.
Would appreciate any help.