• 28-12-2014, 01:46:55
    #1
    Reveloper
    <?php
    $client = new SoapClient("https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx?WSDL");  
    try{  
      $requestData = array(   
        "TCKimlikNo" =>"xxx",  
        "Ad" => "BURAK",  
        "Soyad" => "xxx",  
        "DogumYili" => "xxx"  
        );  
      $result = $client->TCKimlikNoDogrula($requestData);  
      if ($result->TCKimlikNoDogrulaResult){  
        echo "TC Kimlik Numarası Geçerli";  
      }else{  
        echo "TC Kimlik Numarası Hatalı";  
      }  
    }  
    catch (Exception $ex){  
      echo $ex->faultstring;  
    }
    ?>
    çıkan sonuç:


    Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx?WSDL' : Start tag expected, '<' not found in /home/wewewew/public_html/test.php:3 Stack trace: #0 /home/wewewew/public_html/test.php(3): SoapClient->SoapClient('https://tckimli...') #1 {main} thrown in /home/wewewew/public_html/test.php on line 3
  • 28-12-2014, 07:24:03
    #2
    openSSL?
  • 28-12-2014, 17:30:40
    #3
    Reveloper
    nskl adlı üyeden alıntı: mesajı görüntüle
    openSSL?
    Yav centos da nasil aktive edecez bu naleti üstadım
  • 28-12-2014, 21:12:09
    #4
    php.ini'de bulup aktive edebilirsin.