longxia.php 654 B

123456789101112131415161718192021222324
  1. <?php
  2. error_reporting(0);
  3. $url = $_GET['url'];
  4. $jx ="http://106.55.234.91:4433/?url=$url";
  5. $headerArray = array(
  6. "User-Agent: Dalvik/2.1.0",
  7. );
  8. $curl = curl_init();
  9. curl_setopt($curl, CURLOPT_URL, $jx);
  10. curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE);
  11. curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, FALSE);
  12. curl_setopt($curl, CURLOPT_HTTPHEADER, $headerArray);
  13. curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
  14. $output = curl_exec($curl);
  15. curl_close($curl);
  16. $arr=json_decode($output,true);
  17. $play = $arr['data']['url'];
  18. echo $play;
  19. header("Content-type:application/vnd.apple.mpegurl");
  20. ?>