Results 1 to 2 of 2

Thread: Show tv php

  1. Go to Thank YouDownload #1
    Go to Thank You
    Yasaklı Tekzen sahtekarı's Avatar

    Info

    Go to Top of Post

    Default Show tv php

    SHOW TV direk Canli Sitesinden alirken bir kac dakika calisiyor,
    Kanal degistirdikten sonra bu hatayi veriyor


    file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /storage/ssd1/093/8715093/public_html/player/show.php on line 34


    Code:
    1. function file_get_contents_curl( $url ) {
    2. $url = 'https://site';
    3. $ch = curl_init();
    4. curl_setopt($ch, CURLOPT_HEADER, false);
    5. curl_setopt($ch, CURLOPT_URL, $url);
    6. curl_setopt($ch, CURLOPT_SSLVERSION,3);
    7. $result = curl_exec($ch);
    8. curl_close($ch);
    ekledim, yine de sorun devam ediyor



    Similar Threads:

    • The Following 7 Users Say Thank You to Tekzen sahtekarı For This Useful Post:

    • Go to Thank YouDownload #2
      Go to Thank You
      Yönetici yilmaz's Avatar

      Info

      Go to Top of Post

      Birde böyle dener misin
      Demo: [Sadece kayıtlı ve aktif kullanıcılar bağlantıları görebilir.] Kayıt Olmak İçin Tıklayınız..
      PHP Code:
      1. <?php
      2. function baglan($url) {
      3.     $ch curl_init();
      4.     $host '172.217.21.46';
      5. $headers = array(
      6.      'authority: ciner-live.ercdn.net',
      7.      'Connection: keep-alive',
      8.     'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36',
      9.     'Origin: '.$url.'',
      10.     'Sec-Fetch-Site: cross-site',
      11.     'Sec-Fetch-Mode: cors',
      12.     'Sec-Fetch-Dest: empty',
      13.     'Referer: '.$url.'',
      14.     'Host '.$host.''); 
      15.     $timeout 5;
      16.     curl_setopt($chCURLOPT_URL$url);
      17.     curl_setopt($chCURLOPT_SSL_VERIFYPEERfalse);;
      18.     curl_setopt($chCURLOPT_REFERER$url);
      19.     curl_setopt($chCURLOPT_HTTPHEADER$headers);   
      20.     curl_setopt($ch,CURLOPT_TIMEOUT,30);
      21.     curl_setopt($chCURLOPT_RETURNTRANSFER1);
      22.     $data curl_exec($ch);
      23.     curl_close($ch);
      24.     return str_replace(array("\\"),"",$data);
      25. }
      26. $kaynak baglan("https://www.showtv.com.tr/canli-yayin");
      27. preg_match('@"ht_stream_m3u8":"(.*?)"@s',$kaynak,$m3u);
      28. echo "#EXTINF:-1 tvg-logo=\"https://www.showtv.com.tr/assets/images/apple-touch-icons/152x152.png\",ShowTV\n$m3u[1]\n"
      29. ?>
      Selam ve Saygılarla İyi Forumlar...



    • The Following 7 Users Say Thank You to yilmaz For This Useful Post:

    Thread Information

    Users Browsing this Thread

    There are currently 1 users browsing this thread. (0 members and 1 guests)

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •