• 15-05-2007, 01:38:00
    #10
    php ile mi gezdiriyim linkleri ?
  • 15-05-2007, 01:45:07
    #11
    O da olur ama xml'den bence vazgeçmeyin. Çünkü içersinde bir çok parametre ile robot'u kontrol edebiliyorsunuz.
    • URL to the page: Enter the URL to the page. Examples: http://www.foo.com/index.html or Yeah.com - Only the best links ...
    • Priority: Choose the priority of the page relative to the other pages. For example, your homepage might have a higher priority than your imprint.
    • Last Changed: Enter the date of the last change as YYYY-MM-DD (2005-12-31 for example) (optional).
    Change frequencies Note: Please note that the value of this tag is considered a hint and not a command. Even though search engine crawlers consider this information when making decisions, they may crawl pages marked "hourly" less frequently than that, and they may crawl pages marked "yearly" more frequently than that. It is also likely that crawlers will periodically crawl pages marked "never" so that they can handle unexpected changes to those pages.
  • 15-05-2007, 02:03:33
    #12
    $text = html_entity_decode ($text);
    $text = str_replace( "Ç", "C", $text);
    $text = str_replace( "ç", "c", $text);
    $text = str_replace( "Ü", "U", $text);
    $text = str_replace( "ü", "u", $text);
    $text = str_replace( "Ý", "I", $text);
    $text = str_replace( "ý", "i", $text);
    $text = str_replace( "Þ", "S", $text);
    $text = str_replace( "þ", "s", $text);
    $text = str_replace( "Ö", "O", $text);
    $text = str_replace( "ö", "o", $text);
    $text = str_replace( "Ð", "G", $text);
    $text = str_replace( "ð", "g", $text);
    $text = str_replace( "&", "ve", $text);
    $text = str_replace( "ä", "a", $text);
    $text = str_replace( "Ä", "A", $text);
    $text = str_replace( "ß", "ss", $text);

    u ları a yapmış y leri a


    sadece şunları kullandım
    mesela lady i lada yapmış
    150 mb verimi mahvetti tüm y leri alt sildi naapacam
  • 15-05-2007, 02:05:21
    #13
    Misafir
    Bi daha kine yedek alacan
  • 15-05-2007, 02:14:49
    #14
    vBulletin PHP BBCODE tagı, karakterleri (İ ve ı) bozuk çevirmiş.

    Code tagıyla sanırım aynen görüntüleyebiliyor.

    $text = $title;
    //Charachters must be in ASCII and certain ones aint allowed
    $text = html_entity_decode ($text);
    $text = preg_replace ("'<[\/\!]*?[^<>]*?>'si", "", $text);
    $text = str_replace(" / ","-",$text);
    $text = str_replace("/","-",$text);
    $text = str_replace("'","-",$text);
    $text = str_replace(" - ","-",$text);
    $text = str_replace("_","-",$text);
    $text = str_replace(" ","-",$text);
    $text = str_replace( "Ç", "C", $text);
    $text = str_replace( "ç", "c", $text);
    $text = str_replace( "Ü", "U", $text);
    $text = str_replace( "ü", "u", $text);
    $text = str_replace( "İ", "I", $text);
    $text = str_replace( "ı", "i", $text);
    $text = str_replace( "Ş", "S", $text);
    $text = str_replace( "ş", "s", $text);
    $text = str_replace( "Ö", "O", $text);
    $text = str_replace( "ö", "o", $text);
    $text = str_replace( "Ğ", "G", $text);
    $text = str_replace( "ğ", "g", $text);
    $text = str_replace( "&", "ve", $text);
    $text = str_replace( "%", "yuzde", $text);
    $text = str_replace("?"," ",$text);
    $text = str_replace( "ä", "a", $text);
    $text = str_replace( "Ä", "A", $text);
    $text = str_replace( "ß", "ss", $text);
    $text = ereg_replace("[^A-Za-z0-9-]", "", $text);
    $text = str_replace("----","-",$text);
    $text = str_replace("---","-",$text);
    $text = str_replace("--","-",$text);
    $text = str_replace( "!", " ", $text);
    DB'den başdan çekersin?
  • 15-05-2007, 12:55:30
    #15
    ya yedeği war benim anlamadığım php neden y herfini i ye çevirmiş



    $text = html_entity_decode ($text);
    $text = str_replace( "Ç", "C", $text);
    $text = str_replace( "ç", "c", $text);
    $text = str_replace( "Ü", "U", $text);
    $text = str_replace( "ü", "u", $text);
    $text = str_replace( "Ý", "I", $text);
    $text = str_replace( "ý", "i", $text);
    $text = str_replace( "Þ", "S", $text);
    $text = str_replace( "þ", "s", $text);
    $text = str_replace( "Ö", "O", $text);
    $text = str_replace( "ö", "o", $text);
    $text = str_replace( "Ð", "G", $text);
    $text = str_replace( "ð", "g", $text);
    $text = str_replace( "&", "ve", $text);
    $text = str_replace( "ä", "a", $text);
    $text = str_replace( "Ä", "A", $text);
    $text = str_replace( "ß", "ss", $text);


    burda öyle bişi yokki php dosyasının encoding type ından mıdır nedir
  • 15-05-2007, 14:09:56
    #16
    Hayır benim sana paste ettiğim make_text_safe fonksiyon kodlarındaki Türkçe harfler yanlış çıkmış. Çünkü PHP BBCODE Tagı içersine almıştım.

    [PHP]
    kodlar
    [/PHP]

    ama CODE tagı arasına alınca düzgün çıktı.

    Eee türkçe harfler bozuk olursa, fonksiyon ne yapsın.

    Düzgün olanı şu:
    text = $title;
    //Charachters must be in ASCII and certain ones aint allowed
    $text = html_entity_decode ($text);
    $text = preg_replace ("'<[\/\!]*?[^<>]*?>'si", "", $text);
    $text = str_replace(" / ","-",$text);
    $text = str_replace("/","-",$text);
    $text = str_replace("'","-",$text);
    $text = str_replace(" - ","-",$text);
    $text = str_replace("_","-",$text);
    $text = str_replace(" ","-",$text);
    $text = str_replace( "Ç", "C", $text);
    $text = str_replace( "ç", "c", $text);
    $text = str_replace( "Ü", "U", $text);
    $text = str_replace( "ü", "u", $text);
    $text = str_replace( "İ", "I", $text);
    $text = str_replace( "ı", "i", $text);
    $text = str_replace( "Ş", "S", $text);
    $text = str_replace( "ş", "s", $text);
    $text = str_replace( "Ö", "O", $text);
    $text = str_replace( "ö", "o", $text);
    $text = str_replace( "Ğ", "G", $text);
    $text = str_replace( "ğ", "g", $text);
    $text = str_replace( "&", "ve", $text);
    $text = str_replace( "%", "yuzde", $text);
    $text = str_replace("?"," ",$text);
    $text = str_replace( "ä", "a", $text);
    $text = str_replace( "Ä", "A", $text);
    $text = str_replace( "ß", "ss", $text);
    $text = ereg_replace("[^A-Za-z0-9-]", "", $text);
    $text = str_replace("----","-",$text);
    $text = str_replace("---","-",$text);
    $text = str_replace("--","-",$text);
    $text = str_replace( "!", " ", $text);
    Bununla tekrar denermisin.
  • 15-05-2007, 17:47:29
    #17
    hallettim peki yüzlerce karakter arasından başka bişi gelirse gene bişi olmaz dimi yani bu liste yetermi?
  • 16-05-2007, 01:24:50
    #18
    Halletmene sevindim.

    Bence yeterli. Eğer ilerde google gene uyarı verirse, o karakteride fonksiyona dahil edersin.