From f8a02fc27d6b6e5982f79b00c206f1ff58fbcb61 Mon Sep 17 00:00:00 2001 From: Adil Ilhan Date: Mon, 4 Mar 2013 08:36:41 +0200 Subject: [PATCH 1/2] =?UTF-8?q?-de=20eki=20ayr=C4=B1=20yaz=C4=B1lmal=C4=B1?= =?UTF-8?q?.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index a4acd07..a79495e 100644 --- a/index.php +++ b/index.php @@ -35,7 +35,7 @@ function sinirhesap(form)
-

Her gün bir PHP Fonksiyonu Twitter'da. Sende ekle !

+

Her gün bir PHP Fonksiyonu Twitter'da. Sen de ekle !

- \ No newline at end of file + From 23505760921d7e81217c5127ebb349b2a1e4b303 Mon Sep 17 00:00:00 2001 From: Adil Ilhan Date: Mon, 4 Mar 2013 08:41:06 +0200 Subject: [PATCH 2/2] =?UTF-8?q?if=20ko=C5=9Fulu=20do=C4=9Fru=20olsun=20olm?= =?UTF-8?q?as=C4=B1n=20ayn=C4=B1=20i=C5=9Flem=20yap=C4=B1l=C4=B1yor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Koşul doğru olsun olmasın aynı işlem yapıldığından temizlendi. Yönlendirme client side değil server side yapıldı. --- onayla.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/onayla.php b/onayla.php index 89673b5..f3f7634 100644 --- a/onayla.php +++ b/onayla.php @@ -3,13 +3,6 @@ $tID = addslashes(trim($_GET['id'])); $sorgu=mysql_query("UPDATE tweets SET aktive = 1 where tID=".$tID); -if($sorgu) -{ - echo ''; -} -else -{ - echo ''; -} +header('Location: admin.php'); ?>