📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
firmarehberiv1.demodesign.com.tr
/
system
📝
class.dovizkuru.php
← Geri Dön
<?php class DovizKurlari { private $tcmb = "http://www.tcmb.gov.tr/kurlar/today.xml"; private $conn; public $usd_buy; public $usd_sell; public $eur_buy; public $eur_sell; public $gbp_buy; public $gbp_sell; public $chf_buy; public $chf_sell; public function __construct(){ $this->conn = simplexml_load_file($this->tcmb); $this->USD_Data(); $this->EUR_Data(); $this->GBP_Data(); $this->CHF_Data(); } public function USD_Data(){ $this->usd_buy = $this->conn->Currency[0]->BanknoteBuying; $this->usd_sell = $this->conn->Currency[0]->BanknoteSelling; } public function EUR_Data(){ $this->eur_buy = $this->conn->Currency[3]->BanknoteBuying; $this->eur_sell = $this->conn->Currency[3]->BanknoteSelling; } public function GBP_Data(){ $this->gbp_buy = $this->conn->Currency[4]->BanknoteBuying; $this->gbp_sell = $this->conn->Currency[4]->BanknoteSelling; } public function CHF_Data(){ $this->chf_buy = $this->conn->Currency[6]->BanknoteBuying; $this->chf_sell = $this->conn->Currency[6]->BanknoteSelling; } } ?>
💾 Kaydet
İptal
📝 Yeniden Adlandır
İptal
Kaydet
🔐 Dosya İzinleri (chmod)
İzin Değeri:
Hızlı Seçim:
777
755
644
600
777
= Herkes okur/yazar/çalıştırır
755
= Sahip tam, diğerleri okur/çalıştırır
644
= Sahip okur/yazar, diğerleri okur
600
= Sadece sahip okur/yazar
İptal
Uygula