Welcome to World of IPTV

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Our Rules: Read to avoid getting banned!

Advertising

Introduce Yourself to the World with Us!

Resource Database

Find the newest resources around IPTV!

Account upgrade

Upgrade your account to unlock more benefits!

Request Can somebody make a php script for this websit

Amanda92

Extended Member
Ext. Member
Joined
Jan 21, 2020
Messages
1
Reaction score
35
Points
21
Location
iran
hi iam new her :)
Can somebody make a php script go get the url with token from this stream
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
Hello to all
This script not work anymore.
I made some changes to it and update to new address but not work.
can someone help please?

This is new channel url:

And this is script after changes and update
<?php

$stream = sepehr();
preg_match_all('/(https?:\/\/s.-cloud.irib.ir.*m3u8.*")/U',$stream,$matches, PREG_PATTERN_ORDER);
$var1 = $matches[1][0];
$var1 = substr($var1, 0, -1);
header("location: ".$var1);



function sepehr(){
$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, 'https://sepehr.irib.ir/live/tv1');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET');

curl_setopt($ch, CURLOPT_ENCODING, 'gzip, deflate');

$headers = array();
$headers[] = 'Connection: keep-alive';
$headers[] = 'Cache-Control: max-age=0';
$headers[] = 'Upgrade-Insecure-Requests: 1';
$headers[] = 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36';
$headers[] = 'Sec-Fetch-User: ?1';
$headers[] = 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9';
$headers[] = 'Sec-Fetch-Site: none';
$headers[] = 'Sec-Fetch-Mode: navigate';
$headers[] = 'Accept-Encoding: gzip, deflate, br';
$headers[] = 'Accept-Language: fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7';
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

$result = curl_exec($ch);
if (curl_errno($ch)) {
echo 'Error:' . curl_error($ch);
}
curl_close($ch);
return $result;
}

thanks
 
any help for fixing this script?
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
any help for fixing this script?
there you have
I do php script
send a message if you want me to make a php script for a website

<?php
$data=json_decode(sepehr(),true);
$url=$data['list']['0']['streams']['0']['src'];
header('Location:'.$url);


function sepehr(){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://sepehrapi.irib.ir/v3/channels/?key=tv1&include_media_resources=true&include_details=false');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET');
curl_setopt($ch, CURLOPT_ENCODING, 'gzip, deflate');
$headers = array();
$headers[] = 'sec-ch-ua: ".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"';
$headers[] = 'Authorization: OAuth oauth_consumer_key="84ALFkdjpBX0DSR3DsaLo364lKs1hTGq"';
$headers[] = 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36';
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

$result = curl_exec($ch);
if (curl_errno($ch)) {
echo 'Error:' . curl_error($ch);
}
curl_close($ch);
return $result;
}
 
Contact me, I can make script for any website
 
there you have
I do php script
send a message if you want me to make a php script for a website

Just one question,
in that website there are a lot of channels and for getting another channels in your script just for example "key=ch1" and "key=ch2" change.
and i dont want for every channel, make script and want just add "id" in script and id parametr replace "ch" in script to get any other channel.
i costumize your script like this:

PHP:
<?php

$id = @$_GET['id'];


$data=json_decode(sepehr(),true);
$url=$data['list']['0']['streams']['0']['src'];

header('Location:'.$url);

function sepehr(){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://sepehrapi.irib.ir/v3/channels/?key='.$id .'&include_media_resources=true&include_details=false');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET');
curl_setopt($ch, CURLOPT_ENCODING, 'gzip, deflate');
$headers = array();
$headers[] = 'sec-ch-ua: ".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"';
$headers[] = 'Authorization: OAuth oauth_consumer_key="84ALFkdjpBX0DSR3DsaLo364lKs1hTGq"';
$headers[] = 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36';
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

$result = curl_exec($ch);
if (curl_errno($ch)) {
echo 'Error:' . curl_error($ch);
}
curl_close($ch);
return $result;
}


if you see, script get "id" witch meand channels id in line 2 and put it to line 8, but i get error.

could you please check it and correct the script?
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
Just one question,
in that website there are a lot of channels and for getting another channels in your script just for example "key=ch1" and "key=ch2" change.
and i dont want for every channel, make script and want just add "id" in script and id parametr replace "ch" in script to get any other channel.
$id = @$_GET['id'];

$data=json_decode(sepehr($id),true);
$url=$data['list']['0']['streams']['0']['src'];

header('Location:'.$url);

function sepehr($id){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://sepehrapi.irib.ir/v3/channels/?key='.$id .'&include_media_resources=true&include_details=false');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET');
curl_setopt($ch, CURLOPT_ENCODING, 'gzip, deflate');
$headers = array();
$headers[] = 'sec-ch-ua: ".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"';
$headers[] = 'Authorization: OAuth oauth_consumer_key="84ALFkdjpBX0DSR3DsaLo364lKs1hTGq"';
$headers[] = 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36';
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

$result = curl_exec($ch);
if (curl_errno($ch)) {
echo 'Error:' . curl_error($ch);
}
curl_close($ch);
return $result;
}
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top