string baseuri = "http://1.liuruitao.sinaapp.com/index.php?name={0}"; //向服务器发送的uri
string uri = string.Format(baseuri,textBox1.Text); //将要发送的字符串加到uri后面
client.UploadStringCompleted+=new UploadStringCompletedEventHandler(client_UploadStringCompleted);
client.UploadStringAsync(new Uri(uri, UriKind.Absolute),"POST","");
回复讨论(解决方案)
_POST[""]
print_r($_POST);
看看数组传递 然后根据需要读吧
你C#写的程序 post提交到 php写的web页面嘛??
echo $_POST['name'];