Page 1 of 3 123 LastLast
Results 1 to 5 of 13

Thread: Canlı Tv Sitesinden alinan php kod deyistimi

  1. Go to Thank YouDownload #1
    Go to Thank You
    Kıdemli Üye ergün's Avatar

    Info

    Go to Top of Post

    Default Canlı Tv Sitesinden alinan php kod deyistimi

    Canlı Tv Sitesinden alinan php kod deyistimi arkadaslar bendeki calismiyor elinde olan varsa lütfen paylassin saygilar




  2. The Following 29 Users Say Thank You to ergün For This Useful Post:

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

    Info

    Go to Top of Post

    img tagında ufak bir değişiklik olmuş, sonu önce böyle ide "/> şimdi böyle " /> olmuş , tekrar hata olmamsı için sadece bu " kalsın.
    Selam ve Saygılarla İyi Forumlar...



  4. The Following 14 Users Say Thank You to yilmaz For This Useful Post:

  5. Go to Thank YouDownload #3
    Go to Thank You
    Kıdemli Üye ergün's Avatar

    Info

    Go to Top of Post

    yilmaz ustam tam anlamadim calisan kodu koyabilirmisin seni seviyoruz ustam


  6. The Following 10 Users Say Thank You to ergün For This Useful Post:

  7. Go to Thank YouDownload #4
    Go to Thank You
    Yönetici yilmaz's Avatar

    Info

    Go to Top of Post

    Quote Originally Posted by ergün View Post
    yilmaz ustam tam anlamadim calisan kodu koyabilirmisin seni seviyoruz ustam
    Senin kullandığın kodu buraya php kodu arasına ekle ben onu çalışır hale getireyim. Sevgi karşılıklıdır
    Selam ve Saygılarla İyi Forumlar...



  8. The Following 15 Users Say Thank You to yilmaz For This Useful Post:

  9. Go to Thank YouDownload #5
    Go to Thank You
    Kıdemli Üye ergün's Avatar

    Info

    Go to Top of Post

    PHP Code:
    1. <?php
    2. function url_get_contents($Url) {
    3.     $ch curl_init();
    4.     curl_setopt($chCURLOPT_URL$Url);
    5.     curl_setopt($chCURLOPT_HTTPHEADER, array( 'Referer: https://www.canlitv.me' ));
    6.     curl_setopt($chCURLOPT_RETURNTRANSFERtrue);
    7.     curl_setopt($chCURLOPT_FOLLOWLOCATIONtrue);
    8.     $output curl_exec($ch);
    9.     curl_close($ch);
    10.     return $output;
    11. }
    12. function JS_charCodeAt($str$index) {
    13.     $utf16 mb_convert_encoding($str'UTF-16LE''UTF-8');
    14.     return ord($utf16[$index*2]) + (ord($utf16[$index*2+1]) << 8);
    15. }
    16. function unwise ($w$i$s$e) {
    17.     $lIll 0;
    18.     $ll1I 0;
    19.     $Il1l 0;
    20.     $ll1l = [];
    21.     $l1lI = [];
    22.     while (true) {
    23.         if ($lIll 5) { array_push($l1lI$w{$lIll}); }
    24.         else if ($lIll strlen($w)) { array_push($ll1l$w{$lIll}); }
    25.         $lIll++;
    26.         if ($ll1I 5) { array_push($l1lI$i{$ll1I}); }
    27.         else if ($ll1I strlen($i)) { array_push($ll1l$i{$ll1I}); }
    28.         $ll1I++;
    29.         if ($Il1l 5) { array_push($l1lI$s{$Il1l}); }
    30.         else if ($Il1l strlen($s)) { array_push($ll1l$s{$Il1l}); }
    31.         $Il1l++;
    32.         if (strlen($w) + strlen($i) + strlen($s) + strlen($e) == count($ll1l) + count($l1lI) + strlen($e)) { break; }
    33.     }
    34.     $lI1l join("",$ll1l);
    35.     $I1lI join("",$l1lI);
    36.     $ll1I 0;
    37.     $l1ll = [];
    38.     for ($lIll 0$lIll count($ll1l); $lIll += 2) {
    39.         $ll11 = -1;
    40.         if ( JS_charCodeAt($I1lI$ll1I) % 2) { $ll11 1; }
    41.         array_push($l1llmb_chr(intval(substr($lI1l,$lIll2), 36) - $ll11));
    42.         $ll1I++;
    43.         if ($ll1I >= count($l1lI)) { $ll1I 0; }
    44.     }
    45.     return join("",$l1ll);
    46. }
    47. if (isset($_GET['stream'])) { $stream $_GET['stream']; } else { $stream "1"; }
    48. $page url_get_contents("https://www.canlitv.me/".$_GET['channel']."/".$_GET['stream']);
    49. preg_match_all('#src="(.*?)" frameborder#'$page$iframe);
    50. $coded url_get_contents($iframe[1][0]);
    51. preg_match_all("#\}\('(.*?)','(.*?)','(.*?)','(.*?)'\)\);#"$coded$wise);
    52. $coded =  unwise($wise[1][0], $wise[2][0], $wise[3][0], $wise[4][0]);
    53. preg_match_all("#\}\('(.*?)','(.*?)','(.*?)','(.*?)'\)\);#"$coded$wise);
    54. $coded =  unwise($wise[1][0], $wise[2][0], $wise[3][0], $wise[4][0]);
    55. preg_match_all("#\}\('(.*?)','(.*?)','(.*?)','(.*?)'\)\);#"$coded$wise);
    56. $coded =  unwise($wise[1][1], $wise[2][1], $wise[3][1], $wise[4][1]);
    57. $pos strpos($coded'changeVideo');
    58. if ($pos === false) {
    59.  preg_match_all("#{file: '(.*?)'#"$coded$m3u8);
    60. } else {
    61.  preg_match_all("#changeVideo\('(.*?)'\)#"$coded$m3u8);
    62. }
    63. header("location: ".$m3u8[1][0]);
    64. ?>


  10. The Following 7 Users Say Thank You to ergün For This Useful Post:

Page 1 of 3 123 LastLast

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
  •