Send an image and text to the same php

System.Net.WebClient Client = new System.Net.WebClient();
byte[] result = Client.UploadFile("http://10.0.2.2:8080/P1/upload.php", "POST", path);

With this code I can send an Image to my PHP file and I can handle it, but now I need to send a string together with the image, because I need to insert it with the string in a DataBase, but i dont know how to do it. Please can you help me?

Sign In or Register to comment.