• 16-12-2006, 15:47:57
    #1
    Alexa Web Search
    da

    Hot Searches: satırını çekip sitemde göstermek istiyorum nasıl yapabilirim

    file_get_contents ile sayfa yı actıktan sonra Hot Searches kısmı nasıl çekilebilir...
  • 17-12-2006, 20:08:58
    #2
    file_get_contents + preg_match || explode

    mesela explode la

    <img style="margin-top: -4px;" alt="Hot Searches"

    yukardaki ile aşaqidikinin arasinin arasini aldircaksin
    </div>

    bknz youtube thumb resim alma topici
  • 19-12-2006, 13:11:53
    #3
    al al madem yapamadın

    <?
    #Tontonq
    $link = "http://www.alexa.con"; // Alexa Linki Buraya
    $x = '<img style="margin-top: -4px;" alt="Hot Searches"';
    $cagir = file_get_contents($link);
    $a = explode($x,$cagir);
    $ax = explode('</div>',$a[1]);
    $ux = '<img style="margin-top: -4px;" alt="Hot Searches"';
    $ux .= $ax[0]; $ux.= '</div>';
    echo $ux;
    ?>