Welcome to World of IPTV

With

+23k members
+11k threads
+106k posts

we are the most popular IPTV community on the web. 

IMPORTANT NOTE:
WE HAVE RECENTLY NOTICED THAT TOO MANY DOUBLE FAKE ACCOUNTS ARE CREATED IN THE PAST.
TO PREVENT THIS ISSUE THE DECISION WAS MADE THAT IN THE FUTURE A ANNUALLY FEE 20 EURO WILL BE RAISED FOR NEW MEMBERSHIPS.

Join now to the World of IPTV

Forum Rules

Before you start, check out the forum rules first

Account upgrade

Upgrade your account to get access to full features

Advertising

Would you like to place your advertisement with us ?

Resources Manager

Hundreds of IPTV scripts and apps are available for download

Question Can somebody help to make php script?

dindin

Extended Member
Ext. Member
Joined
Sep 27, 2019
Messages
105
Reaction score
288
Points
74
Location
germany
Hi Guys,
Can somebody help me to make php script for this website:



i created this php script but it doesnt work yet:

PHP:
<?php

$url = 'https://www.glwiz.com/Pages/Player/Ajax.aspx?action=getStreamURL&ClusterName=zixi-glwiz-box&RecType=4&itemName=IRIBChannel1&ScreenMode=0&prt=https://www.glwiz.com/Pages/Player/Player.aspx';

#$stream = glwiz($url);

$stream=json_decode(glwiz($url),true);

print_r ($stream);



function glwiz($url){


$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET');
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    'authority' => 'www.glwiz.com',
    'accept' => '*/*',
    'accept-language' => 'fi,en-US;q=0.9,en;q=0.8',
    'referer' => 'https://www.glwiz.com/Pages/Player/p2.html?t2=1675265014200',
    'sec-ch-ua' => '"Not_A Brand";v="99", "Google Chrome";v="109", "Chromium";v="109"',
    'sec-ch-ua-mobile' => '?0',
    'sec-ch-ua-platform' => '"Windows"',
    'sec-fetch-dest' => 'empty',
    'sec-fetch-mode' => 'cors',
    'sec-fetch-site' => 'same-origin',
    'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36',
    'x-requested-with' => 'XMLHttpRequest',
    'Accept-Encoding' => 'gzip',
]);
curl_setopt($ch, CURLOPT_COOKIE, 'ASP.NET_SessionId=lulbyxc4mig54mvsl4xf15rf; __gads=ID=9a19f335364f72d5:T=1669630540:S=ALNI_MYvVsIxdhD7wehHR7huWR5MQHP4wQ; __auc=323cd1a1184bdbc878b76c03417; ISOCode=FA-EN; LanguageCode=EN; PackageCode=FA; SelectedLanguage=SecondLanguage; SelectedPackage=Farsi; _fbp=fb.1.1669630561951.605574382; _ga=GA1.2.434833227.1669630562; rememberMe=true; userEmail=uCGm0I4+obudBGYNi+1DPBbvfiVNMVuAYl8+msWcaXDNHgkPRhNWa2PRDLhufCe4; LoggedUser=KfT+E/dpQcyApxvNky6oX7b5ZA9OCI8h/aJU8w6Fs6w=; UserID=6clRq1sRN4WdmjKLRbAQQQ==; GLwizHostName=163.172.43.248; GLwizAutoLogin=true; GLwizUser=WB507109; _gid=GA1.2.1700301154.1675247668; __asc=5c0bc4931860d9268136d3103c1; _gat_gtag_UA_651909_6=1');

$response = curl_exec($ch);

curl_close($ch);

return $response;
}
 
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 @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

VENOM DRM

Extended Member
Basic Member
Advertiser
Ext. Member
Joined
Jan 31, 2023
Messages
12
Reaction score
90
Points
24
Location
DRM World
Hi Guys,
Can somebody help me to make php script for this website:

*** Hidden text: cannot be quoted. ***



i created this php script but it doesnt work yet:

PHP:
<?php

$url = 'https://www.glwiz.com/Pages/Player/Ajax.aspx?action=getStreamURL&ClusterName=zixi-glwiz-box&RecType=4&itemName=IRIBChannel1&ScreenMode=0&prt=https://www.glwiz.com/Pages/Player/Player.aspx';

#$stream = glwiz($url);

$stream=json_decode(glwiz($url),true);

print_r ($stream);



function glwiz($url){


$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET');
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    'authority' => 'www.glwiz.com',
    'accept' => '*/*',
    'accept-language' => 'fi,en-US;q=0.9,en;q=0.8',
    'referer' => 'https://www.glwiz.com/Pages/Player/p2.html?t2=1675265014200',
    'sec-ch-ua' => '"Not_A Brand";v="99", "Google Chrome";v="109", "Chromium";v="109"',
    'sec-ch-ua-mobile' => '?0',
    'sec-ch-ua-platform' => '"Windows"',
    'sec-fetch-dest' => 'empty',
    'sec-fetch-mode' => 'cors',
    'sec-fetch-site' => 'same-origin',
    'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36',
    'x-requested-with' => 'XMLHttpRequest',
    'Accept-Encoding' => 'gzip',
]);
curl_setopt($ch, CURLOPT_COOKIE, 'ASP.NET_SessionId=lulbyxc4mig54mvsl4xf15rf; __gads=ID=9a19f335364f72d5:T=1669630540:S=ALNI_MYvVsIxdhD7wehHR7huWR5MQHP4wQ; __auc=323cd1a1184bdbc878b76c03417; ISOCode=FA-EN; LanguageCode=EN; PackageCode=FA; SelectedLanguage=SecondLanguage; SelectedPackage=Farsi; _fbp=fb.1.1669630561951.605574382; _ga=GA1.2.434833227.1669630562; rememberMe=true; userEmail=uCGm0I4+obudBGYNi+1DPBbvfiVNMVuAYl8+msWcaXDNHgkPRhNWa2PRDLhufCe4; LoggedUser=KfT+E/dpQcyApxvNky6oX7b5ZA9OCI8h/aJU8w6Fs6w=; UserID=6clRq1sRN4WdmjKLRbAQQQ==; GLwizHostName=163.172.43.248; GLwizAutoLogin=true; GLwizUser=WB507109; _gid=GA1.2.1700301154.1675247668; __asc=5c0bc4931860d9268136d3103c1; _gat_gtag_UA_651909_6=1');

$response = curl_exec($ch);

curl_close($ch);

return $response;
}

Well Done mate.

Do you mind i re-write this script in python and send to you working or you need it PHP ?
 

dindin

Extended Member
Ext. Member
Joined
Sep 27, 2019
Messages
105
Reaction score
288
Points
74
Location
germany
Well Done mate.

Do you mind i re-write this script in python and send to you working or you need it PHP ?
Php please.
Because i am not sure we can use python in xtream ui

what do what exactly to do ?
Hi,
I want to get m3u8 url witch have session id.

Just session id of streams change in that site.
 
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 @changglobize
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 @changglobize
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 @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

dindin

Extended Member
Ext. Member
Joined
Sep 27, 2019
Messages
105
Reaction score
288
Points
74
Location
germany
Curl > json decode > headerlocation
yes i know that.
but most important is to get correct data (m3u8 link with session id)

I think he never write this script just copy from somewhere and don’t have idea how to use or for what exactly it’s it 😂
there is no any sample script for this site anywhere in the web.

if you can not help (i am sure you dont know anything about php) , close your mouth PROFESSOR!
 

KingOfSat

Basic Member
Basic Member
Joined
Oct 25, 2022
Messages
114
Reaction score
97
Points
39
Location
Germany
there is no any sample script for this site anywhere in the web.

if you can not help (i am sure you dont know anything about php) , close your mouth PROFESSOR!
Yes i can help but i dont think to do couse you are php guru and dont have idea how work your script which you "write" :ROFLMAO::ROFLMAO::ROFLMAO::ROFLMAO:
 

dindin

Extended Member
Ext. Member
Joined
Sep 27, 2019
Messages
105
Reaction score
288
Points
74
Location
germany
Yes i can help but i dont think to do couse you are php guru and dont have idea how work your script which you "write" :ROFLMAO::ROFLMAO::ROFLMAO::ROFLMAO:
do it if you know professor ...
i am sure you dont know what we are talking about.
 
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 @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

ChickenWarrior

Extended Member
Ext. Member
Joined
Sep 23, 2019
Messages
510
Reaction score
927
Points
104
Location
USA
do it if you know professor ...
i am sure you dont know what we are talking about.
I'm not 100% clear what your after but your pretty much there.

To just display the link:
PHP:
<?php

#ini_set("display_errors", "1");
#ini_set("display_startup_errors", "1");
#error_reporting(E_ALL);

$url =
    "https://www.glwiz.com/Pages/Player/Ajax.aspx?action=getStreamURL&ClusterName=zixi-glwiz-box&RecType=4&itemName=IRIBChannel1&ScreenMode=0&prt=https://www.glwiz.com/Pages/Player/Player.aspx";

function glwiz($url)
{
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
    curl_setopt($ch, CURLOPT_HTTPHEADER, [
        "authority" => "www.glwiz.com",
        "accept" => "*/*",
        "accept-language" => "fi,en-US;q=0.9,en;q=0.8",
        "referer" =>
            "https://www.glwiz.com/Pages/Player/p2.html?t2=1675265014200",
        "sec-ch-ua" =>
            '"Not_A Brand";v="99", "Google Chrome";v="109", "Chromium";v="109"',
        "sec-ch-ua-mobile" => "?0",
        "sec-ch-ua-platform" => '"Windows"',
        "sec-fetch-dest" => "empty",
        "sec-fetch-mode" => "cors",
        "sec-fetch-site" => "same-origin",
        "user-agent" =>
            "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36",
        "x-requested-with" => "XMLHttpRequest",
        "Accept-Encoding" => "gzip",
    ]);
    curl_setopt(
        $ch,
        CURLOPT_COOKIE,
        "ASP.NET_SessionId=lulbyxc4mig54mvsl4xf15rf; __gads=ID=9a19f335364f72d5:T=1669630540:S=ALNI_MYvVsIxdhD7wehHR7huWR5MQHP4wQ; __auc=323cd1a1184bdbc878b76c03417; ISOCode=FA-EN; LanguageCode=EN; PackageCode=FA; SelectedLanguage=SecondLanguage; SelectedPackage=Farsi; _fbp=fb.1.1669630561951.605574382; _ga=GA1.2.434833227.1669630562; rememberMe=true; userEmail=uCGm0I4+obudBGYNi+1DPBbvfiVNMVuAYl8+msWcaXDNHgkPRhNWa2PRDLhufCe4; LoggedUser=KfT+E/dpQcyApxvNky6oX7b5ZA9OCI8h/aJU8w6Fs6w=; UserID=6clRq1sRN4WdmjKLRbAQQQ==; GLwizHostName=163.172.43.248; GLwizAutoLogin=true; GLwizUser=WB507109; _gid=GA1.2.1700301154.1675247668; __asc=5c0bc4931860d9268136d3103c1; _gat_gtag_UA_651909_6=1"
    );

    $response = curl_exec($ch);

    curl_close($ch);

    return $response;
}

$stream = json_decode(glwiz($url), true);

echo $stream["resp"];

?>
 

dindin

Extended Member
Ext. Member
Joined
Sep 27, 2019
Messages
105
Reaction score
288
Points
74
Location
germany
What about python script???
i am working on this but didnt get m3u8 file for response yet.

Python:
import requests

cookies = {
    'ASP.NET_SessionId': 'lulbyxc4mig54mvsl4xf15rf',
    '__gads': 'ID=9a19f335364f72d5:T=1669630540:S=ALNI_MYvVsIxdhD7wehHR7huWR5MQHP4wQ',
    '__auc': '323cd1a1184bdbc878b76c03417',
    'ISOCode': 'FA-EN',
    'LanguageCode': 'EN',
    'PackageCode': 'FA',
    'SelectedLanguage': 'SecondLanguage',
    'SelectedPackage': 'Farsi',
    '_fbp': 'fb.1.1669630561951.605574382',
    '_ga': 'GA1.2.434833227.1669630562',
    'rememberMe': 'true',
    'userEmail': 'uCGm0I4+obudBGYNi+1DPBbvfiVNMVuAYl8+msWcaXDNHgkPRhNWa2PRDLhufCe4',
    'LoggedUser': 'KfT+E/dpQcyApxvNky6oX7b5ZA9OCI8h/aJU8w6Fs6w=',
    'UserID': '6clRq1sRN4WdmjKLRbAQQQ==',
    'GLwizHostName': '163.172.43.248',
    'GLwizAutoLogin': 'true',
    'GLwizUser': 'WB507109',
    '_gid': 'GA1.2.1700301154.1675247668',
    '__asc': '5c0bc4931860d9268136d3103c1',
    '_gat_gtag_UA_651909_6': '1',
}

headers = {
    'authority': 'www.glwiz.com',
    'accept': '*/*',
    'accept-language': 'fi,en-US;q=0.9,en;q=0.8',
    'cookie': 'ASP.NET_SessionId=lulbyxc4mig54mvsl4xf15rf; __gads=ID=9a19f335364f72d5:T=1669630540:S=ALNI_MYvVsIxdhD7wehHR7huWR5MQHP4wQ; __auc=323cd1a1184bdbc878b76c03417; ISOCode=FA-EN; LanguageCode=EN; PackageCode=FA; SelectedLanguage=SecondLanguage; SelectedPackage=Farsi; _fbp=fb.1.1669630561951.605574382; _ga=GA1.2.434833227.1669630562; rememberMe=true; userEmail=uCGm0I4+obudBGYNi+1DPBbvfiVNMVuAYl8+msWcaXDNHgkPRhNWa2PRDLhufCe4; LoggedUser=KfT+E/dpQcyApxvNky6oX7b5ZA9OCI8h/aJU8w6Fs6w=; UserID=6clRq1sRN4WdmjKLRbAQQQ==; GLwizHostName=163.172.43.248; GLwizAutoLogin=true; GLwizUser=WB507109; _gid=GA1.2.1700301154.1675247668; __asc=5c0bc4931860d9268136d3103c1; _gat_gtag_UA_651909_6=1',
    'referer': 'https://www.glwiz.com/Pages/Player/p2.html?t2=1675265014200',
    'sec-ch-ua': '"Not_A Brand";v="99", "Google Chrome";v="109", "Chromium";v="109"',
    'sec-ch-ua-mobile': '?0',
    'sec-ch-ua-platform': '"Windows"',
    'sec-fetch-dest': 'empty',
    'sec-fetch-mode': 'cors',
    'sec-fetch-site': 'same-origin',
    'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36',
    'x-requested-with': 'XMLHttpRequest',
}

response = requests.get(
    'https://www.glwiz.com/Pages/Player/Ajax.aspx?action=getStreamURL&ClusterName=zixi-glwiz-box&RecType=4&itemName=IRIBChannel1&ScreenMode=0&prt=https%3A//www.glwiz.com/Pages/Player/Player.aspx',
    cookies=cookies,
    headers=headers,
)


print(str(response));
 

OscarBolivia

Basic Member
Basic Member
Joined
Jan 3, 2021
Messages
18
Reaction score
0
Points
4
Location
Spain
Hi Guys,
Can somebody help me to make php script for this website:

*** Hidden text: cannot be quoted. ***



i created this php script but it doesnt work yet:

PHP:
<?php

$url = 'https://www.glwiz.com/Pages/Player/Ajax.aspx?action=getStreamURL&ClusterName=zixi-glwiz-box&RecType=4&itemName=IRIBChannel1&ScreenMode=0&prt=https://www.glwiz.com/Pages/Player/Player.aspx';

#$stream = glwiz($url);

$stream=json_decode(glwiz($url),true);

print_r ($stream);



function glwiz($url){


$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET');
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    'authority' => 'www.glwiz.com',
    'accept' => '*/*',
    'accept-language' => 'fi,en-US;q=0.9,en;q=0.8',
    'referer' => 'https://www.glwiz.com/Pages/Player/p2.html?t2=1675265014200',
    'sec-ch-ua' => '"Not_A Brand";v="99", "Google Chrome";v="109", "Chromium";v="109"',
    'sec-ch-ua-mobile' => '?0',
    'sec-ch-ua-platform' => '"Windows"',
    'sec-fetch-dest' => 'empty',
    'sec-fetch-mode' => 'cors',
    'sec-fetch-site' => 'same-origin',
    'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36',
    'x-requested-with' => 'XMLHttpRequest',
    'Accept-Encoding' => 'gzip',
]);
curl_setopt($ch, CURLOPT_COOKIE, 'ASP.NET_SessionId=lulbyxc4mig54mvsl4xf15rf; __gads=ID=9a19f335364f72d5:T=1669630540:S=ALNI_MYvVsIxdhD7wehHR7huWR5MQHP4wQ; __auc=323cd1a1184bdbc878b76c03417; ISOCode=FA-EN; LanguageCode=EN; PackageCode=FA; SelectedLanguage=SecondLanguage; SelectedPackage=Farsi; _fbp=fb.1.1669630561951.605574382; _ga=GA1.2.434833227.1669630562; rememberMe=true; userEmail=uCGm0I4+obudBGYNi+1DPBbvfiVNMVuAYl8+msWcaXDNHgkPRhNWa2PRDLhufCe4; LoggedUser=KfT+E/dpQcyApxvNky6oX7b5ZA9OCI8h/aJU8w6Fs6w=; UserID=6clRq1sRN4WdmjKLRbAQQQ==; GLwizHostName=163.172.43.248; GLwizAutoLogin=true; GLwizUser=WB507109; _gid=GA1.2.1700301154.1675247668; __asc=5c0bc4931860d9268136d3103c1; _gat_gtag_UA_651909_6=1');

$response = curl_exec($ch);

curl_close($ch);

return $response;
}

Did you put it in ChatGPT and ask it to help?

Gracias
Oscar
 
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 @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
shape1
shape2
shape3
shape4
shape5
shape6
Top
AdBlock Detected

We know, ad-blocking software do a great job at blocking ads. But our site is sponsored by advertising. 

For the best possible site experience please take a moment to disable your AdBlocker.
You can create a Account with us or if you already have account, you can prefer an Account Upgrade.

I've Disabled AdBlock