Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming audio and video online. Audio and video downloads. > Playing online streaming in media players
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 05-01-2016, 04:07 AM
Kerem Kerem is offline
Junior Member
 
Join Date: May 2016
Posts: 8
Kerem is on a distinguished road
Question

[php curl] m3u8 works on localhost but nor work on server


I'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);
?>
And I't works like a charm on localhost.
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?
Reply With Quote
  #2  
Old 05-02-2016, 04:39 PM
Kerem Kerem is offline
Junior Member
 
Join Date: May 2016
Posts: 8
Kerem is on a distinguished road
Default

Re: [php curl] m3u8 works on localhost but nor work on server


Any help please?
Reply With Quote
  #3  
Old 05-12-2016, 05:54 PM
MFA MFA is offline
Junior Member
 
Join Date: May 2016
Posts: 1
MFA is on a distinguished road
Default

Re: [php curl] m3u8 works on localhost but nor work on server


I have the same problem. Is there a way to by pass this problem ?
Reply With Quote
  #4  
Old 05-20-2016, 01:05 PM
Kerem Kerem is offline
Junior Member
 
Join Date: May 2016
Posts: 8
Kerem is on a distinguished road
Default

Re: [php curl] m3u8 works on localhost but nor work on server


Kindly whom has an information about php please take a look at this problem.
Reply With Quote
  #5  
Old 05-27-2016, 07:56 AM
codetr codetr is offline
Junior Member
 
Join Date: Jan 2013
Posts: 2
codetr is on a distinguished road
Default

Re: [php curl] m3u8 works on localhost but nor work on server


how to bypassing crossdomain.xml ???
Reply With Quote
  #6  
Old 05-27-2016, 02:31 PM
Kerem Kerem is offline
Junior Member
 
Join Date: May 2016
Posts: 8
Kerem is on a distinguished road
Default

Re: [php curl] m3u8 works on localhost but nor work on server


Quote:
Originally Posted by codetr View Post
how to bypassing crossdomain.xml ???
Actually I don't know what cause this problem!
Is that related to crossdomain option?
Reply With Quote
  #7  
Old 11-07-2016, 05:03 PM
Kerem Kerem is offline
Junior Member
 
Join Date: May 2016
Posts: 8
Kerem is on a distinguished road
Default

Re: [php curl] m3u8 works on localhost but nor work on server


Quote:
Originally Posted by codetr View Post
how to bypassing crossdomain.xml ???
Anyone could help me to do this please?
Reply With Quote
  #8  
Old 11-08-2016, 02:06 AM
maycuaxuong maycuaxuong is offline
Junior Member
 
Join Date: Nov 2016
Posts: 2
maycuaxuong is on a distinguished road
Default

Re: [php curl] m3u8 works on localhost but nor work on server


may 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.
Reply With Quote
  #9  
Old 11-08-2016, 09:17 AM
nguyenvulan5 nguyenvulan5 is offline
Junior Member
 
Join Date: Nov 2016
Posts: 5
nguyenvulan5 is on a distinguished road
Default

Quote:
Originally Posted by Kerem View Post
I've got m3u8 link for oen of the radio streams by using Curl in PHP:
HTML Code:
&lt;?php $url = &quot;http://karwan.tv/&quot;; function get_dataa($url) { $ch = curl_init(); $timeout = 5; curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_USERAGENT, &quot;Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0)&quot;); 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(&quot;\n&quot;,$variableee); $strr = $res[12]; echo $str = substr( $strr,8 ,184); ?&gt;
And I't works like a charm on localhost. 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: &quot;Forbidden.&quot; Generated output link: http://radio.karwan.me/karwan.tv/rad...1pbnV0ZXM9MjA= What would be the solution for this problem?


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
Reply With Quote
  #10  
Old 12-05-2017, 10:15 AM
AllenRuh AllenRuh is offline
Member
 
Join Date: May 2017
Location: Yugoslavia
Posts: 45
AllenRuh is on a distinguished road
Default

тренажеры док


Заканчиваются мои занятия в центре Бубновского. Эффект есть, мне лучше, но работа еще только в самом начале.
Не передать удовольствие от занятий, счастье от улучшений. Но у Бубновского - дорого и ездить очень, очень далеко. Всему научилась, дальше смогу сама, но где.
Знаю, что есть в городе такие тренажеры в фитнес-залах. Искала сама - не нашла. Крик души - может кто-то знает где они есть? МТБ 1-4, называются.
Искала, искала и вот чего выискала. Поиск стал сразу легче!) Привожу цитату. Может кому пригодится! Эти тренажеры в самом деле есть во многих фитнес-центрах!

http://www.slovoprosvity.org.ua/?p=14452
Reply With Quote
Reply Post New Thread
Tags: , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 10:49 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons