PHP Script to Controll your streams and download m3u File and Start and Stop
Current Functionality
Code:
unzip and upload the folder "XC" to /home/xtreamcodes/iptv_xtream_codes/wwwdir/
chmod all the php files inside 777
edit dbconnect.php and enter your sql password
edit the restartstream.php and change $mainserverip to your broadcast port (127.0.0.1:8000)
edit the stopstream.php and change $mainserverip to your broadcast port (127.0.0.1:8000)
edit submit.php and change the 2 entries YOURDNSORT to your external IP or DNS and port
you can now access the links in your browser;
To Start/Stop stream
http://YOURDNSORT/XC/editstreamnew.php
To download an m3u
http://YOURDNSORT/XC/getm3u.php
Current Functionality
- Start / stop existing stream.
Code:
unzip and upload the folder "XC" to /home/xtreamcodes/iptv_xtream_codes/wwwdir/
chmod all the php files inside 777
edit dbconnect.php and enter your sql password
edit the restartstream.php and change $mainserverip to your broadcast port (127.0.0.1:8000)
edit the stopstream.php and change $mainserverip to your broadcast port (127.0.0.1:8000)
edit submit.php and change the 2 entries YOURDNSORT to your external IP or DNS and port
you can now access the links in your browser;
To Start/Stop stream
http://YOURDNSORT/XC/editstreamnew.php
To download an m3u
http://YOURDNSORT/XC/getm3u.php