gaddar1 adlı üyeden alıntı: mesajı görüntüle
Uğraştım Bu Şekilde Çıkardım.İşine Yarayacak Olan Kullansın


<?php 
$client = new SoapClient('http://data.altinkaynak.com/DataService.asmx?WSDL'); 

$auth = new stdClass(); 
$auth->Username = 'AltinkaynakWebServis'; 
$auth->Password = 'AltinkaynakWebServis'; 

$header = new SoapHeader('http://data.altinkaynak.com/', 'AuthHeader', $auth, false); 
$client->__setSoapHeaders($header); 

$response = $client->GetCurrency(); $response1 = $client->GetGold();

$xml = simplexml_load_string($response->GetCurrencyResult); 
$xml1 = simplexml_load_string($response1->GetGoldResult);

$dolar = $xml->Kur[0]->Satis; 
$euro = $xml->Kur[1]->Satis;
$altin = $xml1->Kur[0]->Satis;

echo' 
<div class="dovizbilgiler"><span><p>Dolar:</p> '.$dolar.'</span> 
<span><p>Euro:</p> '.$euro.'</span> 
<span><p>Altın:</p> '.$altin.'</span> 
</div>
'; 
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Dolar Euro Kur </title>
<style type="text/css">

.dovizbilgiler span {
float: left;
margin-right: 40px;
}

</style>
</head>

Bende bir site var hocam botlu ama bot çalışmıyor bunu neyde nasıl kullanabiliriz nereye atarak?