c# kodları:

php kodları:

kodları söyle düzeltiyim:
<?php
if($_GET)
{
$postserial= $_GET["name"];
$baglanti = new mysqli("localhost", "root", "", "serverdll");
if ($baglanti->connect_errno > 0) {
die("<b>Bağlantı Hatası:</b> " . $baglanti->connect_error);
}
$baglanti->set_charset("utf8");
$sorgu = $baglanti->prepare("SELECT ss FROM sscektir WHERE isim = ?");
if ($baglanti->errno > 0) {
die("<b>Sorgu Hatası:</b> " . $baglanti->error);
}
$sorgu->bind_param("s", $postserial);
$sorgu->execute();
$sonuc = $sorgu->get_result();
$cikti = $sonuc->fetch_array();
echo $cikti["ss"];
$sorgu->close();
$baglanti->close();
}
?>string hedef = "http://localhost/sunucuvericekcgonder.php?name=" + textBox1.Text + "";
WebRequest istek = HttpWebRequest.Create(hedef);
WebResponse yanit;
yanit = istek.GetResponse();
StreamReader bilgiler = new StreamReader(yanit.GetResponseStream());
string gelen = bilgiler.ReadToEnd();
int baslangic = gelen.IndexOf("");
int bitis = gelen.Substring(baslangic).IndexOf("");
string gelenbilgileri = gelen.Substring(baslangic, bitis);
v = Convert.ToInt32(gelenbilgileri);
if (v == 0)
{
Kaydet(ResimAdi());
timer1.Stop();
}
else
{
button1.Visible = true;
timer1.Stop();
}
