• 14-12-2015, 16:58:09
    #1
    arkadaşlar merhaba;

    if(!strstr($result[$say], "/members/") and !strstr($result[$say], "post_type=") and !strstr($result[$say], ".jpg") and !strstr($result[$say], "?share") and !strstr($result[$say], "feed=")  and !strstr($result[$say], "/etiket/") and !strstr($result[$say], "/kategori/") and !strstr($result[$say], "<script") and !strstr($result[$say], "<img") and !strstr($result[$say], "target=\"") and !strstr($result[$say], "id=\"") and !strstr($result[$say], "#comment") and !strstr($result[$say], "#comments") and !strstr($result[$say], "/disclosure/") and !strstr($result[$say], "/terms") and !strstr($result[$say], "/contact-us/") and !strstr($result[$say], "/about-us/") and !strstr($result[$say], "rel=\"") and !strstr($result[$say], "<span") and !strstr($result[$say], "class=\"") and !strstr($result[$say], "/feed") and !strstr($result[$say], "/tags/") and !strstr($result[$say], "/wp-content/") and !strstr($result[$say], "/about/") and !strstr($result[$say], "/tag/") and !strstr($result[$say], "twitter.com") and !strstr($result[$say], "/terms-of-use/") and !strstr($result[$say], "/contact/") and !strstr($result[$say], "/privacy-policy/") and !strstr($result[$say], "/feed/") and !strstr($result[$say], "wp-login.php") and !strstr($result[$say], "facebook.com") and !strstr($result[$say], "facebook.com") and !strstr($result[$say], "/page/") and !strstr($result[$say], "/category/") and !strstr($result[$say], "/author/") )
    
    {

    bu kodu normal index.php içinde yazdığımda düzgün çalışıyor fakat bunu suzgec.php dosyasına kaydedip include("suzgec.php"); diye çağırdığımda Parse error: syntax error, unexpected '}' HATASI hatası alıyorum. Sorun nereden kaynaklanmakta bir türlü anlamadım. suzgec.php dosyasına echo ile yazılar yazıp çağırdığımda çalışıyor. include etmede bir sorun yok ama kodları eklediğimde hata alıyorum. yardımınızı bekliyorum.
  • 14-12-2015, 17:02:14
    #2
    aslan002 adlı üyeden alıntı: mesajı görüntüle
    arkadaşlar merhaba;

    if(!strstr($result[$say], "/members/") and !strstr($result[$say], "post_type=") and !strstr($result[$say], ".jpg") and !strstr($result[$say], "?share") and !strstr($result[$say], "feed=")  and !strstr($result[$say], "/etiket/") and !strstr($result[$say], "/kategori/") and !strstr($result[$say], "<script") and !strstr($result[$say], "<img") and !strstr($result[$say], "target=\"") and !strstr($result[$say], "id=\"") and !strstr($result[$say], "#comment") and !strstr($result[$say], "#comments") and !strstr($result[$say], "/disclosure/") and !strstr($result[$say], "/terms") and !strstr($result[$say], "/contact-us/") and !strstr($result[$say], "/about-us/") and !strstr($result[$say], "rel=\"") and !strstr($result[$say], "<span") and !strstr($result[$say], "class=\"") and !strstr($result[$say], "/feed") and !strstr($result[$say], "/tags/") and !strstr($result[$say], "/wp-content/") and !strstr($result[$say], "/about/") and !strstr($result[$say], "/tag/") and !strstr($result[$say], "twitter.com") and !strstr($result[$say], "/terms-of-use/") and !strstr($result[$say], "/contact/") and !strstr($result[$say], "/privacy-policy/") and !strstr($result[$say], "/feed/") and !strstr($result[$say], "wp-login.php") and !strstr($result[$say], "facebook.com") and !strstr($result[$say], "facebook.com") and !strstr($result[$say], "/page/") and !strstr($result[$say], "/category/") and !strstr($result[$say], "/author/") )
    
    {

    bu kodu normal index.php içinde yazdığımda düzgün çalışıyor fakat bunu suzgec.php dosyasına kaydedip include("suzgec.php"); diye çağırdığımda Parse error: syntax error, unexpected '}' HATASI hatası alıyorum. Sorun nereden kaynaklanmakta bir türlü anlamadım. suzgec.php dosyasına echo ile yazılar yazıp çağırdığımda çalışıyor. include etmede bir sorun yok ama kodları eklediğimde hata alıyorum. yardımınızı bekliyorum.

    if(!strstr($result[$say], "/members/") and !strstr($result[$say], "post_type=") and !strstr($result[$say], ".jpg") and !strstr($result[$say], "?share") and !strstr($result[$say], "feed=")  and !strstr($result[$say], "/etiket/") and !strstr($result[$say], "/kategori/") and !strstr($result[$say], "<script") and !strstr($result[$say], "<img") and !strstr($result[$say], "target=\"") and !strstr($result[$say], "id=\"") and !strstr($result[$say], "#comment") and !strstr($result[$say], "#comments") and !strstr($result[$say], "/disclosure/") and !strstr($result[$say], "/terms") and !strstr($result[$say], "/contact-us/") and !strstr($result[$say], "/about-us/") and !strstr($result[$say], "rel=\"") and !strstr($result[$say], "<span") and !strstr($result[$say], "class=\"") and !strstr($result[$say], "/feed") and !strstr($result[$say], "/tags/") and !strstr($result[$say], "/wp-content/") and !strstr($result[$say], "/about/") and !strstr($result[$say], "/tag/") and !strstr($result[$say], "twitter.com") and !strstr($result[$say], "/terms-of-use/") and !strstr($result[$say], "/contact/") and !strstr($result[$say], "/privacy-policy/") and !strstr($result[$say], "/feed/") and !strstr($result[$say], "wp-login.php") and !strstr($result[$say], "facebook.com") and !strstr($result[$say], "facebook.com") and !strstr($result[$say], "/page/") and !strstr($result[$say], "/category/") and !strstr($result[$say], "/author/") )
    
    {
    }
    böyle deneyin
  • 14-12-2015, 17:08:08
    #3
    ismail02 adlı üyeden alıntı: mesajı görüntüle
    if(!strstr($result[$say], "/members/") and !strstr($result[$say], "post_type=") and !strstr($result[$say], ".jpg") and !strstr($result[$say], "?share") and !strstr($result[$say], "feed=")  and !strstr($result[$say], "/etiket/") and !strstr($result[$say], "/kategori/") and !strstr($result[$say], "<script") and !strstr($result[$say], "<img") and !strstr($result[$say], "target=\"") and !strstr($result[$say], "id=\"") and !strstr($result[$say], "#comment") and !strstr($result[$say], "#comments") and !strstr($result[$say], "/disclosure/") and !strstr($result[$say], "/terms") and !strstr($result[$say], "/contact-us/") and !strstr($result[$say], "/about-us/") and !strstr($result[$say], "rel=\"") and !strstr($result[$say], "<span") and !strstr($result[$say], "class=\"") and !strstr($result[$say], "/feed") and !strstr($result[$say], "/tags/") and !strstr($result[$say], "/wp-content/") and !strstr($result[$say], "/about/") and !strstr($result[$say], "/tag/") and !strstr($result[$say], "twitter.com") and !strstr($result[$say], "/terms-of-use/") and !strstr($result[$say], "/contact/") and !strstr($result[$say], "/privacy-policy/") and !strstr($result[$say], "/feed/") and !strstr($result[$say], "wp-login.php") and !strstr($result[$say], "facebook.com") and !strstr($result[$say], "facebook.com") and !strstr($result[$say], "/page/") and !strstr($result[$say], "/category/") and !strstr($result[$say], "/author/") )
    
    {
    }
    böyle deneyin
    hocam bunu kullansam oluşturduğum if 'in bir anlamı kalmayacak. Bu if ile linkte kısıtlamaya gidiyorum. istemediğim kelimeleri içeren linkleri eliyorum. başka yardım edebilecek var mı
  • 14-12-2015, 18:31:41
    #4
    aslan002 adlı üyeden alıntı: mesajı görüntüle
    hocam bunu kullansam oluşturduğum if 'in bir anlamı kalmayacak. Bu if ile linkte kısıtlamaya gidiyorum. istemediğim kelimeleri içeren linkleri eliyorum. başka yardım edebilecek var mı
    amacını anlayamadım hatada { bunu kapatmadıgın için hata alıyorsun
  • 14-12-2015, 19:32:01
    #5
    ismail02 adlı üyeden alıntı: mesajı görüntüle
    amacını anlayamadım hatada { bunu kapatmadıgın için hata alıyorsun
    hocam kapatma tagı "}" index.php dosyasında var.
  • 15-12-2015, 13:10:35
    #6
    Kardeşim bu dosyaya } ekle index tekini sil.

    --R10.NET; Flood Engellendi -->-> Yeni yazılan mesaj 13:10:35 -->-> Daha önceki mesaj 13:09:44 --

    Ayrıca sen şöyle bişi yapmışsın
    if ($a = $b)
    {

    koşul sağlanmadığında ne olacak
  • 15-12-2015, 16:01:57
    #7
    Ali adlı üyeden alıntı: mesajı görüntüle
    Kardeşim bu dosyaya } ekle index tekini sil.

    --R10.NET; Flood Engellendi -->-> Yeni yazılan mesaj 13:10:35 -->-> Daha önceki mesaj 13:09:44 --

    Ayrıca sen şöyle bişi yapmışsın
    if ($a = $b)
    {

    koşul sağlanmadığında ne olacak
    hocam ilginiz için teşekkür ederim. araştırmalarım sonucu if sorgusunusun bölünmedinini öğrendim. if in açılış ve kapanış tagları aynı php dosyasında olmak zorunda. kapanış tagını başka bir php dosyasından include edilirse hata veriyor php. ilginç bir şey ama böyle.
  • 15-12-2015, 16:11:34
    #8
    aslan002 adlı üyeden alıntı: mesajı görüntüle
    hocam ilginiz için teşekkür ederim. araştırmalarım sonucu if sorgusunusun bölünmedinini öğrendim. if in açılış ve kapanış tagları aynı php dosyasında olmak zorunda. kapanış tagını başka bir php dosyasından include edilirse hata veriyor php. ilginç bir şey ama böyle.
    Rica ederim. Bende ondan bahsetmek istemişitm