I have C# function that send byte[] to PHP script using this method
webclient.uploadData(string,string,byte[])
anyone tell me how I can get that byte[] array in PHP script??
I tried $_POST,$_REQUEST,$_FILE but I didn't got the same bytes which I send from c# function!!
C# function :
byte[] data = File.ReadAllBytes(FileLocation);
WebClient client = new WebClient();
client.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var text = client.UploadData(URL + "?" + postData), "POST", data);
MessageBox.Show(System.Text.Encoding.ASCII.GetString(text));
PHP
print_r($_POST);