📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
e-ticaretv11.demodesign.com.tr
/
system
/
library
/
eticdokargo
📝
ptt.php
← Geri Dön
<?php /** Ptt Kargo **/ class Ptt implements EticdoKargoBase { public function hesap_test($data){ } public function kayit_ac($data){ } public function kayit_iptal($data){ } public function takip_linki_al($data){ } public function takip_kodu_al($data){ } public function kargo_durumu_al($data){ } private function getSOAP($service_url, $service_method, $send ){ $this->result['message'] = ''; if (!extension_loaded('soap')) { throw new Exception('SOAP requests is unavailable'); } try{ if(defined('ETİCDOKARGO_DEBUG')){ echo "<br>Servis Endpoint: $service_url<br>\r\n<pre>"; echo "<br>Request data:<br>\r\n<pre>"; print_r($send); } $client = new SoapClient($service_url, array('trace' => 1, 'exceptions' => 1)); $response = $client->$service_method( $send ); if(defined('ETİCDOKARGO_DEBUG')){ echo "<br>Response data:<br>\r\n<pre>"; print_r($response); } return json_decode(json_encode($response),1); } catch(Exception $e) { if(defined('ETİCDOKARGO_DEBUG')){ echo "<br>Exception data:<br>\r\n"; print_r($e->getMessage()); } $this->result['message'] = 'Kargo Servislerine Bağlanılamadı. Lütfen tekrar deneyiniz. <br>'.$e->getMessage(); } } } ?>
💾 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