php for receiving image and text from MultipartEntity

view full story

http://stackoverflow.com – I'm trying to upload an image and some text via MultipartEntity. I can upload and receive the image, but when I try to add a Stringbody I cannot seem to receive it. Here's my android code imports ETC... public void oncreate(){ ..... nameValuePairs.add(new BasicNameValuePair("image", exsistingFileName)); nameValuePairs.add(new BasicNameValuePair("title", "title")); } public void post(String url, List<NameValuePair> nameValuePairs) { HttpClient httpClient = new DefaultHttpClient(); HttpContext localContext = new BasicHttpContext(); HttpPost httpPost = new HttpPost(url); try { Mul (HowTos)