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

M3U GENERATOR DOWNLOAD AND ACCOUNT INFO

maundy

Extended Member
Ext. Member
Joined
Sep 22, 2019
Messages
5
Reaction score
41
Points
21
Location
uk
i wrote this cos i thought it was very useful right now
place it in any web www directory and point your users to it,
enter username and password hit submit
json_decode and displays
USERNAME | PASSWORD | STATUS | EXPIRY
Ive added a playlist download button and also copy to clipboard button

You will need to add your DNS and PORT to line 20 and 29

ENJOY !!!


<! DOCTYPE html>
<html>
<head>
<meta charset = "UTF-8">
<title> M3U UPDATE </title>
<meta charset = "utf-8">
<meta name = "viewport" content = "width-device-width, initial-scale = 1">
<link rel = "stylesheet" href = "https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<script src = "https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"> </script>
<script src = "https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"> </script>
<script src = "https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"> </script>
<style>
body {
background: url (http://www.sacredheartschoolweymouth.org/wp-content/uploads/2014/10/gradient-bg.jpg) no-repeat center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
background-size: 100% 100%;
font-family: Orbitron, sans-serif;
}
</ style>
</ head>
</ head>
<BODY>
</ br> </ br> </ br> </ br> </ br> </ br>
<? php if (! empty ($ _ POST)):
$ username = $ _POST ['username'];
$ password = $ _POST ['password'];
$ exp_date = date ("dmY", $ json ['user_info'] ["exp_date"]);
$ json = json_decode (file_get_contents ("http: // YOUR-DNS: PORT / panel_api.php? username = $ username & password = $ password"), true);

?>
<center> <div class = "row">
<div class = "col-md-8 offset-2">
<div class = "jumbotron">
<h3 style = "text-align: center;"
<a href="#" class="btn btn-primary" style="background:#000000"> USER: - <? php print $ json ['user_info'] ["username"];?> </a> & nbsp;
<a href="#" class="btn btn-primary" style="background:#000000"> PASS: - <? php print $ json ['user_info'] ["password"];?> </a> & nbsp;
<a href="#" class="btn btn-primary" style="background:#000000"> STATUS - <? php print $ json ['user_info'] ["status"];?> </a> & nbsp ;
<a href="#" class="btn btn-primary" style="background:#000000"> EXPIRES - <? php $ exp_date = date ("dmY", $ json ['user_info'] ["exp_date"] ); echo $ exp_date;?> </a> & nbsp;
</ br> </ br>
<form> <input class = "form-control" type = "hidden" value = "http: // YOUR-DNS: PORT / get.php? username = <? php print $ json ['user_info'] [" username "];?> & password = <? php print $ json ['user_info'] [" password "];?> & type = m3u_plus & output = ts" id = "myInput">
<button type = "button" class = "btn btn-outline-success" onclick = "myFunction ()" style = "width: 150px; background: # 000000"> COPY M3UlArbutton>
& Nbsp; & nbsp; & nbsp;
<a href="http://YOUR-DNS:pORT/get.php?username=<?php print $json{'user_info' Melbour{"username" emici;?> & password = <? php print $ json [ 'user_info'] ["password"];?> & type = m3u_plus & output = ts "class =" btn btn-outline-success "role =" button "style =" width: 150px; background: # 000000 "> DOWNLOAD </a> </ form>
</ div> </ div>
</ center>
<? php else:?>
<div class = "container">
<div class = "row">
</ br> </ br> </ br>
<div class = "col-md-10 offset-1">
<div class = "jumbotron">
<h3 style = "text-align: center;"> <em> <strong> IPTV M3U PLAYLIST
<hr />
<form class = "form-inline" action = <? php echo htmlspecialchars ($ _ SERVER ["PHP_SELF"])); ?> method = "post">
<label for = "email"> <strong> USERNAME: </strong> □ label>
& nbsp; & nbsp;
<input type = "text" class = "form-control" id = "email" placeholder = "Enter Username" name = "username" required>
& nbsp; & nbsp; & nbsp;
<label for = "pwd"> <strong> PASSWORD: </strong> </label>
& nbsp; & nbsp;
<input type = "text" class = "form-control" id = "pwd" placeholder = "Enter Password" name = "password" required>
& nbsp; & nbsp;
<button type = "submit" class = "btn btn-primary"> GET M3U </button>
</ form>
</ div>
<? php endif; ?>

<Script>
function myFunction () {
var copyText = document.getElementById ("myInput");
copytext.select ();
document.execcommand ("copy");
alert ("COPIED YOUR UPDATED PLAYLIST TO CLIPBOARD: \ n" + copyText.value);
}
</ script>
</ body>
</ html>
 

FireTvGuru

Extended Member
Ext. Member
Joined
Sep 11, 2019
Messages
217
Reaction score
2,829
Points
104
Location
USA
i wrote this cos i thought it was very useful right now
place it in any web www directory and point your users to it,
enter username and password hit submit
json_decode and displays
USERNAME | PASSWORD | STATUS | EXPIRY
Ive added a playlist download button and also copy to clipboard button

You will need to add your DNS and PORT to line 20 and 29

ENJOY !!!

<! DOCTYPE html>
<html>
<head>
<meta charset = "UTF-8">
<title> M3U UPDATE </title>
<meta charset = "utf-8">
<meta name = "viewport" content = "width-device-width, initial-scale = 1">
<link rel = "stylesheet" href = "https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<script src = "https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"> </script>
<script src = "https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"> </script>
<script src = "https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"> </script>
<style>
body {
background: url (http://www.sacredheartschoolweymouth.org/wp-content/uploads/2014/10/gradient-bg.jpg) no-repeat center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
background-size: 100% 100%;
font-family: Orbitron, sans-serif;
}
</ style>
</ head>
</ head>
<BODY>
</ br> </ br> </ br> </ br> </ br> </ br>
<? php if (! empty ($ _ POST)):
$ username = $ _POST ['username'];
$ password = $ _POST ['password'];
$ exp_date = date ("dmY", $ json ['user_info'] ["exp_date"]);
$ json = json_decode (file_get_contents ("http: // YOUR-DNS: PORT / panel_api.php? username = $ username & password = $ password"), true);

?>
<center> <div class = "row">
<div class = "col-md-8 offset-2">
<div class = "jumbotron">
<h3 style = "text-align: center;"
<a href="#" class="btn btn-primary" style="background:#000000"> USER: - <? php print $ json ['user_info'] ["username"];?> </a> & nbsp;
<a href="#" class="btn btn-primary" style="background:#000000"> PASS: - <? php print $ json ['user_info'] ["password"];?> </a> & nbsp;
<a href="#" class="btn btn-primary" style="background:#000000"> STATUS - <? php print $ json ['user_info'] ["status"];?> </a> & nbsp ;
<a href="#" class="btn btn-primary" style="background:#000000"> EXPIRES - <? php $ exp_date = date ("dmY", $ json ['user_info'] ["exp_date"] ); echo $ exp_date;?> </a> & nbsp;
</ br> </ br>
<form> <input class = "form-control" type = "hidden" value = "http: // YOUR-DNS: PORT / get.php? username = <? php print $ json ['user_info'] [" username "];?> & password = <? php print $ json ['user_info'] [" password "];?> & type = m3u_plus & output = ts" id = "myInput">
<button type = "button" class = "btn btn-outline-success" onclick = "myFunction ()" style = "width: 150px; background: # 000000"> COPY M3UlArbutton>
& Nbsp; & nbsp; & nbsp;
<a href="http://YOUR-DNS:pORT/get.php?username=<?php print $json{'user_info' Melbour{"username" emici;?> & password = <? php print $ json [ 'user_info'] ["password"];?> & type = m3u_plus & output = ts "class =" btn btn-outline-success "role =" button "style =" width: 150px; background: # 000000 "> DOWNLOAD </a> </ form>
</ div> </ div>
</ center>
<? php else:?>
<div class = "container">
<div class = "row">
</ br> </ br> </ br>
<div class = "col-md-10 offset-1">
<div class = "jumbotron">
<h3 style = "text-align: center;"> <em> <strong> IPTV M3U PLAYLIST
<hr />
<form class = "form-inline" action = <? php echo htmlspecialchars ($ _ SERVER ["PHP_SELF"])); ?> method = "post">
<label for = "email"> <strong> USERNAME: </strong> □ label>
& nbsp; & nbsp;
<input type = "text" class = "form-control" id = "email" placeholder = "Enter Username" name = "username" required>
& nbsp; & nbsp; & nbsp;
<label for = "pwd"> <strong> PASSWORD: </strong> </label>
& nbsp; & nbsp;
<input type = "text" class = "form-control" id = "pwd" placeholder = "Enter Password" name = "password" required>
& nbsp; & nbsp;
<button type = "submit" class = "btn btn-primary"> GET M3U </button>
</ form>
</ div>
<? php endif; ?>

<Script>
function myFunction () {
var copyText = document.getElementById ("myInput");
copytext.select ();
document.execcommand ("copy");
alert ("COPIED YOUR UPDATED PLAYLIST TO CLIPBOARD: \ n" + copyText.value);
}
</ script>
</ body>
</ html>

Im really not sure how your script was working as it had tons of errors but I have fixed them and added 1 spot to input dns url and port number (line 35 & 36). All and all though its a good script.

If you found this helpful please give likes to the OP.

Thanks

HTML:
<! DOCTYPE html>
<html>
   <head>
      <meta charset = "UTF-8">
      <title> M3U UPDATE </title>
      <meta charset = "utf-8">
      <meta name = "viewport" content = "width-device-width, initial-scale = 1">
      <link rel = "stylesheet" href = "https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
      <script src = "https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"> </script>
      <script src = "https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"> </script>
      <script src = "https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"> </script>
      <style>
         body {
         background: url (http://www.sacredheartschoolweymouth.org/wp-content/uploads/2014/10/gradient-bg.jpg) no-repeat center fixed;
         -webkit-background-size: cover;
         -moz-background-size: cover;
         -o-background-size: cover;
         background-size: cover;
         background-size: 100% 100%;
         font-family: Orbitron, sans-serif;
         }
      </style>
   </head>
   </head>
   <body>
      </br> </br> </br> </br> </br> </br>

      <?php
      //############################//
      //Change to your DNS and port #
         $base_url = "you.dns.url";
         $port_num ="port#";
      // double check
      //############################//
      if(! empty ($_POST)):
         $username = $_POST ['username'];
         $password = $_POST ['password'];
         $exp_date = date ("dmY", $json ['user_info'] ["exp_date"]);
         $json = json_decode (file_get_contents ("http://".$base_url.":".$port_num."/panel_api.php?username=".$username."&password=".$password), true);
         ?>
      <center>
         <div class = "row">
         <div class = "col-md-8 offset-2">
            <div class = "jumbotron">
               <h3 style = "text-align: center;">
               <a href="#" class="btn btn-primary" style="background:#000000"> USER: - <?php print $json ['user_info'] ["username"];?> </a> &nbsp;
               <a href="#" class="btn btn-primary" style="background:#000000"> PASS: - <?php print $json ['user_info'] ["password"];?> </a> &nbsp;
               <a href="#" class="btn btn-primary" style="background:#000000"> STATUS - <?php print $json ['user_info'] ["status"];?> </a> &nbsp;
               <a href="#" class="btn btn-primary" style="background:#000000"> ACITVE CONNECTIONS - <?php print $json ['user_info'] ["active_cons"];?> </a> &nbsp;
               <a href="#" class="btn btn-primary" style="background:#000000"> MAX CONNECTIONS - <?php print $json ['user_info'] ["max_connections"];?> </a> &nbsp;
               <a href="#" class="btn btn-primary" style="background:#000000"> EXPIRES - <?php $exp_date = date ("dmY", $json ['user_info'] ["exp_date"] ); echo $exp_date;?> </a> &nbsp;
               </br> </br>
               <form>
                  <input class = "form-control" type = "hidden" value = "http://<?php print $base_url ?>:<?php print $port_num ?>/get.php?username=<?php print $json['user_info'] ["username"];?>&password=<?php print $json [ 'user_info'] ["password"];?>&type=m3u_plus&output=ts"" id = "myInput">
                  <button type = "button" class = "btn btn-outline-success" onclick = "myFunction()" style = "width: 150px; background: # 000000">COPY M3U</button>
                     &nbsp; &nbsp; &nbsp;
                     <a href="hhttp://<?php print $base_url ?>:<?php print $port_num ?>/get.php?username=<?php print $json['user_info'] ["username"];?>&password=<?php print $json [ 'user_info'] ["password"];?>&type=m3u_plus&output=ts"class =" btn btn-outline-success "role =" button "style =" width: 150px; background: # 000000 "> DOWNLOAD </a>
               </form>
            </div>
         </div>
      </center>
      <?php else:?>
      <div class = "container">
      <div class = "row">
      </br> </br> </br>
      <div class = "col-md-10 offset-1">
      <div class = "jumbotron">
      <h3 style = "text-align: center;"> <em> <strong> IPTV M3U PLAYLIST
      <hr/>
      <form class = "form-inline" action = <?php echo htmlspecialchars ($_SERVER ["PHP_SELF"]); ?> method = "post">
      <label for = "email"> <strong> USERNAME: </strong> </label>
      &nbsp; &nbsp;
      <input type = "text" class = "form-control" id = "email" placeholder = "Enter Username" name = "username" required>
      &nbsp; &nbsp; &nbsp;
      <label for = "pwd"> <strong> PASSWORD: </strong> </label>
      &nbsp; &nbsp;
      <input type = "text" class = "form-control" id = "pwd" placeholder = "Enter Password" name = "password" required>
      &nbsp; &nbsp;
      <button type = "submit" class = "btn btn-primary"> GET M3U </button>
      </form>
      </div>
      <?php endif;?>
      <Script>
         function myFunction() {
             var copyText = document.getElementById("myInput");
             copyText.type = 'text';
             copyText.select();
             document.execCommand("copy");
             copyText.type = 'hidden';
             alert("COPIED YOUR UPDATED PLAYLIST TO CLIPBOARD: \n" + copyText.value);
         }
      </script>
   </body>
</html>
 
Last edited:
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

KingKoopa08

Extended Member
Ext. Member
Joined
Sep 25, 2019
Messages
46
Reaction score
191
Points
44
Location
usa
Im really not sure how your script was working as it had tons of errors but I have fixed them and added 1 spot to input dns url and port number (line 35 & 36). All and all though its a good script.

If you found this helpful please give likes to the OP.

Thanks

HTML:
<! DOCTYPE html>
<html>
   <head>
      <meta charset = "UTF-8">
      <title> M3U UPDATE </title>
      <meta charset = "utf-8">
      <meta name = "viewport" content = "width-device-width, initial-scale = 1">
      <link rel = "stylesheet" href = "https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
      <script src = "https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"> </script>
      <script src = "https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"> </script>
      <script src = "https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"> </script>
      <style>
         body {
         background: url (http://www.sacredheartschoolweymouth.org/wp-content/uploads/2014/10/gradient-bg.jpg) no-repeat center fixed;
         -webkit-background-size: cover;
         -moz-background-size: cover;
         -o-background-size: cover;
         background-size: cover;
         background-size: 100% 100%;
         font-family: Orbitron, sans-serif;
         }
      </style>
   </head>
   </head>
   <body>
      </br> </br> </br> </br> </br> </br>

      <?php
      //############################//
      //Change to your DNS and port #
         $base_url = "you.dns.url";
         $port_num ="port#";
      // double check
      //############################//
      if(! empty ($_POST)):
         $username = $_POST ['username'];
         $password = $_POST ['password'];
         $exp_date = date ("dmY", $json ['user_info'] ["exp_date"]);
         $json = json_decode (file_get_contents ("http://".$base_url.":".$port_num."/panel_api.php?username=".$username."&password=".$password), true);
         ?>
      <center>
         <div class = "row">
         <div class = "col-md-8 offset-2">
            <div class = "jumbotron">
               <h3 style = "text-align: center;">
               <a href="#" class="btn btn-primary" style="background:#000000"> USER: - <?php print $json ['user_info'] ["username"];?> </a> &nbsp;
               <a href="#" class="btn btn-primary" style="background:#000000"> PASS: - <?php print $json ['user_info'] ["password"];?> </a> &nbsp;
               <a href="#" class="btn btn-primary" style="background:#000000"> STATUS - <?php print $json ['user_info'] ["status"];?> </a> &nbsp;
               <a href="#" class="btn btn-primary" style="background:#000000"> EXPIRES - <?php $exp_date = date ("dmY", $json ['user_info'] ["exp_date"] ); echo $exp_date;?> </a> &nbsp;
               </br> </br>
               <form>
                  <input class = "form-control" type = "hidden" value = "http://<?php print $base_url ?>:<?php print $port_num ?>/get.php?username=<?php print $json['user_info'] ["username"];?>&password=<?php print $json [ 'user_info'] ["password"];?>&type=m3u_plus&output=ts"" id = "myInput">
                  <button type = "button" class = "btn btn-outline-success" onclick = "myFunction()" style = "width: 150px; background: # 000000">COPY M3U</button>
                     &nbsp; &nbsp; &nbsp;
                     <a href="hhttp://<?php print $base_url ?>:<?php print $port_num ?>/get.php?username=<?php print $json['user_info'] ["username"];?>&password=<?php print $json [ 'user_info'] ["password"];?>&type=m3u_plus&output=ts"class =" btn btn-outline-success "role =" button "style =" width: 150px; background: # 000000 "> DOWNLOAD </a>
               </form>
            </div>
         </div>
      </center>
      <?php else:?>
      <div class = "container">
      <div class = "row">
      </br> </br> </br>
      <div class = "col-md-10 offset-1">
      <div class = "jumbotron">
      <h3 style = "text-align: center;"> <em> <strong> IPTV M3U PLAYLIST
      <hr/>
      <form class = "form-inline" action = <?php echo htmlspecialchars ($_SERVER ["PHP_SELF"]); ?> method = "post">
      <label for = "email"> <strong> USERNAME: </strong> </label>
      &nbsp; &nbsp;
      <input type = "text" class = "form-control" id = "email" placeholder = "Enter Username" name = "username" required>
      &nbsp; &nbsp; &nbsp;
      <label for = "pwd"> <strong> PASSWORD: </strong> </label>
      &nbsp; &nbsp;
      <input type = "text" class = "form-control" id = "pwd" placeholder = "Enter Password" name = "password" required>
      &nbsp; &nbsp;
      <button type = "submit" class = "btn btn-primary"> GET M3U </button>
      </form>
      </div>
      <?php endif;?>
      <Script>
         function myFunction() {
             var copyText = document.getElementById("myInput");
             copyText.type = 'text';
             copyText.select();
             document.execCommand("copy");
             copyText.type = 'hidden';
             alert("COPIED YOUR UPDATED PLAYLIST TO CLIPBOARD: \n" + copyText.value);
         }
      </script>
   </body>
</html>


Thanks dude! I was going through and fixing all the errors but then got side tracked.
 
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

Onlymeeee

Extended Member
Ext. Member
Joined
Oct 16, 2019
Messages
400
Reaction score
1,065
Points
104
Location
Uk
Thanks mate. I was looking for an m3u and xmltv generator when I stumbled across this. I'll have a test and see what's what thanks. Its was nice to find some information and help out there for us "unliked" lol only another 297 more likes till I can get the info I'm most desperate for.
 

mroz

Extended Member
Ext. Member
Joined
Sep 20, 2019
Messages
144
Reaction score
575
Points
104
Location
Madagascar
Im really not sure how your script was working as it had tons of errors but I have fixed them and added 1 spot to input dns url and port number (line 35 & 36). All and all though its a good script.

If you found this helpful please give likes to the OP.

Thanks

HTML:
<! DOCTYPE html>
<html>
   <head>
      <meta charset = "UTF-8">
      <title> M3U UPDATE </title>
      <meta charset = "utf-8">
      <meta name = "viewport" content = "width-device-width, initial-scale = 1">
      <link rel = "stylesheet" href = "https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
      <script src = "https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"> </script>
      <script src = "https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"> </script>
      <script src = "https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"> </script>
      <style>
         body {
         background: url (http://www.sacredheartschoolweymouth.org/wp-content/uploads/2014/10/gradient-bg.jpg) no-repeat center fixed;
         -webkit-background-size: cover;
         -moz-background-size: cover;
         -o-background-size: cover;
         background-size: cover;
         background-size: 100% 100%;
         font-family: Orbitron, sans-serif;
         }
      </style>
   </head>
   </head>
   <body>
      </br> </br> </br> </br> </br> </br>

      <?php
      //############################//
      //Change to your DNS and port #
         $base_url = "you.dns.url";
         $port_num ="port#";
      // double check
      //############################//
      if(! empty ($_POST)):
         $username = $_POST ['username'];
         $password = $_POST ['password'];
         $exp_date = date ("dmY", $json ['user_info'] ["exp_date"]);
         $json = json_decode (file_get_contents ("http://".$base_url.":".$port_num."/panel_api.php?username=".$username."&password=".$password), true);
         ?>
      <center>
         <div class = "row">
         <div class = "col-md-8 offset-2">
            <div class = "jumbotron">
               <h3 style = "text-align: center;">
               <a href="#" class="btn btn-primary" style="background:#000000"> USER: - <?php print $json ['user_info'] ["username"];?> </a> &nbsp;
               <a href="#" class="btn btn-primary" style="background:#000000"> PASS: - <?php print $json ['user_info'] ["password"];?> </a> &nbsp;
               <a href="#" class="btn btn-primary" style="background:#000000"> STATUS - <?php print $json ['user_info'] ["status"];?> </a> &nbsp;
               <a href="#" class="btn btn-primary" style="background:#000000"> ACITVE CONNECTIONS - <?php print $json ['user_info'] ["active_cons"];?> </a> &nbsp;
               <a href="#" class="btn btn-primary" style="background:#000000"> MAX CONNECTIONS - <?php print $json ['user_info'] ["max_connections"];?> </a> &nbsp;
               <a href="#" class="btn btn-primary" style="background:#000000"> EXPIRES - <?php $exp_date = date ("dmY", $json ['user_info'] ["exp_date"] ); echo $exp_date;?> </a> &nbsp;
               </br> </br>
               <form>
                  <input class = "form-control" type = "hidden" value = "http://<?php print $base_url ?>:<?php print $port_num ?>/get.php?username=<?php print $json['user_info'] ["username"];?>&password=<?php print $json [ 'user_info'] ["password"];?>&type=m3u_plus&output=ts"" id = "myInput">
                  <button type = "button" class = "btn btn-outline-success" onclick = "myFunction()" style = "width: 150px; background: # 000000">COPY M3U</button>
                     &nbsp; &nbsp; &nbsp;
                     <a href="hhttp://<?php print $base_url ?>:<?php print $port_num ?>/get.php?username=<?php print $json['user_info'] ["username"];?>&password=<?php print $json [ 'user_info'] ["password"];?>&type=m3u_plus&output=ts"class =" btn btn-outline-success "role =" button "style =" width: 150px; background: # 000000 "> DOWNLOAD </a>
               </form>
            </div>
         </div>
      </center>
      <?php else:?>
      <div class = "container">
      <div class = "row">
      </br> </br> </br>
      <div class = "col-md-10 offset-1">
      <div class = "jumbotron">
      <h3 style = "text-align: center;"> <em> <strong> IPTV M3U PLAYLIST
      <hr/>
      <form class = "form-inline" action = <?php echo htmlspecialchars ($_SERVER ["PHP_SELF"]); ?> method = "post">
      <label for = "email"> <strong> USERNAME: </strong> </label>
      &nbsp; &nbsp;
      <input type = "text" class = "form-control" id = "email" placeholder = "Enter Username" name = "username" required>
      &nbsp; &nbsp; &nbsp;
      <label for = "pwd"> <strong> PASSWORD: </strong> </label>
      &nbsp; &nbsp;
      <input type = "text" class = "form-control" id = "pwd" placeholder = "Enter Password" name = "password" required>
      &nbsp; &nbsp;
      <button type = "submit" class = "btn btn-primary"> GET M3U </button>
      </form>
      </div>
      <?php endif;?>
      <Script>
         function myFunction() {
             var copyText = document.getElementById("myInput");
             copyText.type = 'text';
             copyText.select();
             document.execCommand("copy");
             copyText.type = 'hidden';
             alert("COPIED YOUR UPDATED PLAYLIST TO CLIPBOARD: \n" + copyText.value);
         }
      </script>
   </body>
</html>

Thank you for fixing
 
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

Onlymeeee

Extended Member
Ext. Member
Joined
Oct 16, 2019
Messages
400
Reaction score
1,065
Points
104
Location
Uk
Alright lads. I'm new to hosting and website so absolutely clueless haha

I pasted the script as text in beaver builder WordPress to edit my page and get the result in the picture. Also when testing in preview mode I get "not found" error, is that just because the page hasn't been published yet?
Cheers for your help.

Can't even work out how to upload the picture haha see noob alert haha
 

FireTvGuru

Extended Member
Ext. Member
Joined
Sep 11, 2019
Messages
217
Reaction score
2,829
Points
104
Location
USA
Alright lads. I'm new to hosting and website so absolutely clueless haha

I pasted the script as text in beaver builder WordPress to edit my page and get the result in the picture. Also when testing in preview mode I get "not found" error, is that just because the page hasn't been published yet?
Cheers for your help.

Can't even work out how to upload the picture haha see noob alert haha
Needs to be in a file with php at the end
ex: m3u-generator.php
 

Onlymeeee

Extended Member
Ext. Member
Joined
Oct 16, 2019
Messages
400
Reaction score
1,065
Points
104
Location
Uk
Thanks for replying @FireTvGuru, I had just copied the contents of the script you amended above straight into the text field haha

So let's say page 4 is blank and I want to run the gen there and I have tinygen.php script in public_html folder. How do I point the script to the page. Cheers mate
 
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

jafo666

Extended Member
Ext. Member
Joined
Oct 28, 2019
Messages
196
Reaction score
1,786
Points
104
Location
Uk
Hey everyone good idea this, thanks for the input. For some reason can't get mine working correctly, it doesn't pull the info and also when copying the m3u the username and password is missing from the text...
 
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