Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
[php curl] m3u8 works on localhost but nor work on serverI've got m3u8 link for oen of the radio streams by using Curl in PHP:
HTML Code:
<?php
$url = "http://karwan.tv/";
function get_dataa($url) {
$ch = curl_init();
$timeout = 5;
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0)");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST,false);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER,false);
curl_setopt($ch, CURLOPT_MAXREDIRS, 10);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
$data = curl_exec($ch);
curl_close($ch);
return $data;
}
$variableee = get_dataa('http://karwan.tv/live/radio/radio-dewran.php');
$res = explode("\n",$variableee);
$strr = $res[12];
echo $str = substr( $strr,8 ,184);
?>
But when I upload this file to my website, the generated link will not work. When I opened the link it shows me this error on a white page: "Forbidden." Generated output link: http://radio.karwan.me/karwan.tv/rad...1pbnV0ZXM9MjA= What would be the solution for this problem? |
#2
|
|||
|
|||
Re: [php curl] m3u8 works on localhost but nor work on serverAny help please?
|
#3
|
|||
|
|||
Re: [php curl] m3u8 works on localhost but nor work on serverI have the same problem. Is there a way to by pass this problem ?
|
#4
|
|||
|
|||
Re: [php curl] m3u8 works on localhost but nor work on serverKindly whom has an information about php please take a look at this problem.
|
#5
|
|||
|
|||
Re: [php curl] m3u8 works on localhost but nor work on serverhow to bypassing crossdomain.xml ???
|
#6
|
|||
|
|||
Re: [php curl] m3u8 works on localhost but nor work on serverActually I don't know what cause this problem!
Is that related to crossdomain option? |
#7
|
|||
|
|||
Re: [php curl] m3u8 works on localhost but nor work on serverAnyone could help me to do this please?
|
#8
|
|||
|
|||
Re: [php curl] m3u8 works on localhost but nor work on servermay dong dai thung KZB-I l?* d??ng m??y Ä‘??ng Ä‘ai chuy??n dá»?ng v?* phổ th?´ng nhá??t hiện nay, há?§u há??t c??c nh?* m??y Ä‘á»?u sá»* dá»?ng m??y Ä‘??ng Ä‘ai th??ng loá??i n?*y cho việc Ä‘??ng g??i c??c sá??n phá?©m cho doanh nghiệp của m?¬nh.
Việc Ä‘??ng g??i c??c kiện h?*ng sá?? trá»? n??n Ä‘??n giá??n h??n vá»›i loá??i m??y n?*y. C??ng vá»›i Ä‘?? nÄ?ng duá??t Ä‘??ng g??i sá?? tÄ?ng gá??p bá»™i, giá??m Ä‘?°á»?c chi ph?* c?´ng nh??n c?©ng nh?° thá»?i gian Ä‘??ng g??i. Chức nÄ?ng: Ä???ng Ä‘ai ná??p th??ng Ä‘á»? Ä‘á??m bá??o trong qu?? tr?¬nh bốc dá»? c?©ng nh?° vá?*n chuyá»?n sá??n phá?©m kh?´ng bị h?° há»?ng. C??ch sá»* dá»?ng: Chỉ cá?§n Ä‘?°a sá??n phá?©m l??n m??y Ä‘??ng Ä‘?*i th??ng, sau Ä‘?? m??y sá?? tá»± Ä‘á»™ng th?*t chá?·t d??y Ä‘ai v?* h?*n cá??t d??y Ä‘ai. |
#9
|
|||
|
|||
Quote:
THIá??T Ká?? WEB Tá?*I THIETKEWEBCHUYEN .COM THEO Y?ŠU Cá?¦U TRá»?N G?“I CHá»? 1.990.000 VND -?€€0986.184.211 (VIBER-ZALO) (Mr. Ngá»?c) Trang web sá?? thiá??t ká?? giao diện theo y??u cá?§u ri??ng, há»?p sá»? th?*ch, phong thủy, vá?*n mệnh… Ä‘á»? giá»›i thiệu sá??n phá?©m, dịch vá»?, c?´ng ty, cá»*a h?*ng … Ä‘á»? bá??n ph??t triá»?n kinh doanh kh?´ng ngừng. TRANG WEB Sá?? Ä???á»?C Bá??O H?€NH VĨNH VIỄN C??C DỊCH VỤ KH??C: Quá??n l?? ná»™i dung Fanpage: 900,000 VNÄ?/ Th??ng Quá??n l?? ná»™i dung Webstie: 700,000 VNÄ?/ Th??ng Seo google adword RAO Vá?¶T TRá»?N G?“I CHá»? VỚI 2,000,000 / TH??NG Vá»›i 2,000,000 bá??n sá?? c??: - Ä?Ä?ng 1000 nh??m facebook/th??ng (má»—i nh??m từ 5,000 -> 100,000 th?*nh vi??n). - Ä?Ä?ng 1000 tin/th??ng web rao vá?·t v?* diá»…n Ä‘?*n lá»›n - Ä?Ä?ng 1000nh??m/th??ng google plus (má»—i nh??m từ 1000 -> h??n 10,000 th?*nh vi??n) H??y li??n hệ th?´ng tin b??n d?°á»›i ( kh?´ng b?¬nh luá?*n v?*o b?*i viá??t n?*y v?¬ m?¬nh kh?´ng xem lá??i tin nhá??n tá??i Ä‘??y) + 0986.184.211 (VIBER-ZALO) (Mr. Ngá»?c) ( bá??n c?? thá»? nhá??n tin Ä‘á»? y??u cá?§u gá»?i lá??i miá»…n ph?*) - 0902.836.561 + Email: NgocTran@ThietKeWebChuyen.com - SKYPE: confirmdnt + Website: ThietKeWebChuyen. com |
#10
|
|||
|
|||
тренажеры докЗаканчиваются мои занятия в центре Бубновского. Эффект есть, мне лучше, но работа еще только в самом начале.
Не передать удовольствие от занятий, счастье от улучшений. Но у Бубновского - дорого и ездить очень, очень далеко. Всему научилась, дальше смогу сама, но где. Знаю, что есть в городе такие тренажеры в фитнес-залах. Искала сама - не нашла. Крик души - может кто-то знает где они есть? МТБ 1-4, называются. Искала, искала и вот чего выискала. Поиск стал сразу легче!) Привожу цитату. Может кому пригодится! Эти тренажеры в самом деле есть во многих фитнес-центрах! http://www.slovoprosvity.org.ua/?p=14452 |
Tags: localhost, m3u8, php, php curl, server |
Thread Tools | |
Display Modes | |
|
|