Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<?
//отдолу промени IP и порт на твой те...
$open = @fsockopen("IP","8000");
if ($open) {
fputs($open,"GET /7.html HTTP/1.1\nUser-Agent:Mozilla\n\n");
$read = fread($open,1000);
$text = explode(",",$read);
$text = $text[6];
}
else {
$text="Connection Refused!";
}
echo 'В момента свири: '.$text;
?>
include ('file.php');
<style type="text/css">
body {font-family: "Comic Sans MS";
font-size: 12px;
font-style: normal;
color: #FF0000;
}
</style>
<br />
<br />
<br />
<?
//отдолу промени IP и порт на твой те...
$open = @fsockopen("IP","8000");
if ($open) {
fputs($open,"GET /7.html HTTP/1.1\nUser-Agent:Mozilla\n\n");
$read = fread($open,1000);
$text = explode(",",$read);
$text = $text[6];
}
else {
$text="Connection Refused!";
}
echo 'В момента свири: '.$text;
?>
<style type="text/css">
</style>
<?php
if (!$open = @fsockopen("11.11.111.22", 8000, $errno, $errstr, 5))
{
$er="Радиото е Offline!";
} else {
$open = fsockopen("11.11.111.22:8000/");
if ($open) {
fputs($open,"GET /7.html HTTP/1.1\nUser-Agent:Mozilla\n\n");
$read = fread($open,1000);
$text = explode("content-type:text/html",$read);
$text = explode(",",$text[1]);
} else { $er="Connection Refused!"; }
if ($text[1]==1) { $state = "Пуснато"; } else { $state = "Изключено"; }
if ($er) { echo $er; exit; }
echo "<font face=verdana size=1>
Слушачи: $text[0] от $text[3] ($text[4] онлайн)<br>
Статус: <b>$state</b><br>
Bitrate: $text[5] Kbps<br>
Текуща песен: $text[6]
</font>";
}
?>
<hr>
<center>
<br>
<big>Слушай:</big>
<embed name="RAOCXplayer" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/" src="http://11.11.111.22:8000/
" height="43" type="application/x-mplayer2" loop="true" autoplay="true" showdisplay="0" showcontrols="1" showstatusbar="1" autosize="true" enablecontextmenu="0"></embed>
</center>
<br />
<br />
<div align="center">> <a href="http://11.11.111.22:8000/listen.pls">Слушай от компютъра</a> < > <a href="http://www.cs-bulgariq.host-bg.info/radio_pzd.php">Поздрави</a> < </div>
redsystem каза:А направи ли си настройките?
Този код го и ще стане номера, ползвам го!Код:include ('file.php');
file.php
Код:<style type="text/css"> body {font-family: "Comic Sans MS"; font-size: 12px; font-style: normal; color: #FF0000; } </style> <br /> <br /> <br /> <? //отдолу промени IP и порт на твой те... $open = @fsockopen("IP","8000"); if ($open) { fputs($open,"GET /7.html HTTP/1.1\nUser-Agent:Mozilla\n\n"); $read = fread($open,1000); $text = explode(",",$read); $text = $text[6]; } else { $text="Connection Refused!"; } echo 'В момента свири: '.$text; ?>
<?php
if (!$open = @fsockopen("IP", 8000, $errno, $errstr, 5)) {
$er="Радиото е Offline!";
}
else {
$open = fsockopen("IP:8000/");
if ($open) {
fputs($open,"GET /7.html HTTP/1.1\nUser-Agent:Mozilla\n\n");
$read = fread($open,1000);
$text = explode("content-type:text/html",$read);
$text = explode(",",$text[1]);
}
else {
$er="Connection Refused!";
}
if ($er) {
echo $er; exit;
}
echo "Слушатели: $text[0]<br /> ";
}
?>