Re: [Linux-programlama] Php de döviz bilgileri

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Ahmet ERDOŠAN (ahmet@orumcekyazilim.com)
Date: Tue 15 Feb 2005 - 12:01:26 EET


Birde žunu dene :)

<?php

   $satir = @file("http://www.tcmb.gov.tr/kurlar/today.html");
   if(! $satir)
   {
    $satir =@file("http://www.tcmb.gov.tr/kurlar/today.html");
    if(! $satir) $satir =@file("http://www.tcmb.gov.tr/kurlar/today.html");
   }
   if($satir)
   {
    $dolar = explode(" ",$satir[11]);
    $euro = explode(" ",$satir[14]);
    echo "DOLAR (<font color=blue>$dolar[32]</font>) EURO (<font
color=blue>$euro[37]</font>) ";
       }
  ?>

kolay gelsin

_______________________________________________
Linux-programlama mailing list
Linux-programlama@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-programlama


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.