I have the following in Unity:
{
…
_form = new WWWForm();
_form.AddField(“X_TEST”, “test”);
_www = new WWW(“http://webserver.com/test.php”, _form.data);
…
}
And the following on the server side:
{
…
if (!isset($SERVER['HTTP’.‘X_TEST’]))
die();
…
}
The variable is never set. The call is made from Unity (it gets to the PHP file) but the HTTP_X_TEST is not present.
Thanks for any help,
Henrik