title: http post not working on wp7, name field is not sent over
body: <p>ok so I look around at tons of post here and else where. what I have is a php script like this. </p>
  
  <pre><code>&lt;?php
  
  
  //gets the post from the phone app
  $calendar = $_POST[ 'calendar' ];
  
  //converts the post into a string for manipulation
  $xml = simplexml_load_string($calendar); 
  
  rest of code omitted
  </code></pre>
  
  <p>then in C# I have this</p>
  
  <pre><code>string Event_xml;
  Event_xml = "&lt;?xml version='1.0' encoding='ISO-8859-1' ?&gt;&lt;calendar&gt;&lt;event&gt;&lt;event_id&gt;&lt;/event_id&gt;&lt;title&gt;"+ local_title +"&lt;/title&gt;&lt;venue_id&gt;1&lt;/venue_id&gt;&lt;contact_id&gt;1&lt;/contact_id&gt;&lt;description&gt;"+ local_description +"&lt;/description&gt;&lt;category_id&gt;1&lt;/category_id&gt;&lt;user_id&gt;" + local_ID + "&lt;/user_id&gt;&lt;group_id&gt;1&lt;/group_id&gt;&lt;status_id&gt;1&lt;/status_id&gt;&lt;date&gt;" + local_startDate + "&lt;/date&gt;&lt;starttime&gt;" + local_startTime + "&lt;/starttime&gt;&lt;endDate&gt;" + local_endDate + "&lt;/endDate&gt;&lt;endtime&gt;" + local_endTime + "&lt;/endtime&gt;&lt;/event&gt;&lt;/calendar&gt;";
  
  WebClient wc = new WebClient();
  var URI = new Uri("http://jasonsftp.no-ip.info/test/EventInput.php");
          wc.Headers["Content-Type"] = "application/x-www-form-urlencoded";
          wc.UploadStringCompleted += new UploadStringCompletedEventHandler(wc_UploadStringCompleted);
  
          wc.UploadStringAsync(URI, "POST", Event_xml);
  </code></pre>
  
  <p>when I get the response back it is error</p>
  
  <p>Notice: Undefined index: calendar in htdocs\test\testinput.php on line 11
  Array
  Notice: Trying to get property of non-object in htdocs\test\testinput.php on line 30</p>
  
  <p>Warning: Invalid argument supplied for foreach() in htdocs\test\testinput.php on line 30</p>
  
  <p>now if I use a standard html post like this:</p>
  
  <pre><code>&lt;form action="http://jasonsftp.no-ip.info/test/testinput.php?" method="post"&gt;
        &lt;input type="text" name="calendar" value="mydata" /&gt;
        &lt;input type="submit" /&gt;
      &lt;/form&gt;
  </code></pre>
  
  <p>it works just fine.
  so the name="calendar" is what in C# I cant get to go over with my current code.</p>
  
  <p>any help would be appreciated. I hope this is not very complicated. I think I am just missing something but I did not find anything when reading through the class descriptions.</p>
  
  <p>thanks
  Jason</p>