• 07-01-2008, 23:49:43
    #1
    <?php
    $site = file_get_contents("http://localhost/e1.php");
    $log = substr($site,942,1050);
    $yaz = "echo $log";
    $duz = '<font color="#3333CC"><? "$yaz" ?></font>';
    echo $duz;

    ?>


    Burda yapmak istediğim $log>$yaz ' dan gelen veriyi

    $duz ' yerinde rengini değiştirip "echo $duz;" komutuyla sayfaya yazdırmak.
    nerde hata yapıyorum?

    <? "$yaz" ?>

    "<?" , "?>"


    bunları yazmasamda rengi değiştirilmiş $yaz çıkıyor sayfada.teşekürler
  • 07-01-2008, 23:57:06
    #2
    <?php
    $site = file_get_contents("http://localhost/e1.php");
    $log = substr($site,942,1050);
    echo "<font color=\"#3333CC\">".$log."</font>";
    ?>
  • 07-01-2008, 23:58:29
    #3
    Üyeliği durduruldu
    garip bişey olmuş o şöyle yapsan:
    <?php
    $site = file_get_contents("http://localhost/e1.php");
    $log = substr($site,942,1050);
    echo "<font color=\"#3333CC\">$log</font>";
    ?>
  • 08-01-2008, 00:00:08
    #4
    denedim oldu ben biraz karışık yapmışım) teşekürler
  • 08-01-2008, 00:40:37
    #5
    <?php
    $site = file_get_contents("http://localhost/e1.php");
    $log = substr($site,942,1050);
    $yaz = "echo $log";
    $duz = '<font color="#3333CC"><?=$yaz?></font>';
    echo $duz;
    ?>
  • 08-01-2008, 00:41:49
    #6
    yardımcı olurmu

    http://www.turkekip.com/Forums-file-...pic-t-658.html